ef code first - EF6 Create one way navigation in db with two schemas -


we have 2 tables in same database in different schemas. i.e. foo.table1 , bar.table1 both id column primary key.

foo.table1 existing model, cannot modified , in database.

we want create ef6 code first model of bar.table1 have primary key (bar.table1.id) set foreign key of foo.table1.id. have accomplished in smss cannot figure out how in code without affecting foo.table1. thank you


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -