In Existing project implementation done from edmx model first approach EF I have to use Code First approach . In existing project ,It creating Using repository BO ,base Bo ,Enum classes . Have to reflect the same with just change in approach.
In Exiting they used ObjectContext , createobjectSet,, they have created a objectcontext ,readonly ObjectSet
objectset = repositoryBOSql.Context.CreateObjectSet
I have to use Dbcontext to all over & have to also revert to everywhere, & also have to pass the entityObject (Dbset object) to all so that just replacement in RepositoryBo,baseBo I will able to convert All project from model first to code first Apporch .

Bhaskar ShelarPosted Nov 5, 2016, 8:38 AM
Bulbul AhmedPosted Nov 3, 2016, 5:48 AM