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 .

Bulbul Ahmed153 pointsPosted Nov 3, 2016, 1:48 AM EDT
Bhaskar Shelar38 pointsPosted Nov 5, 2016, 4:38 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts