I was also facing the same problem DBContext is not Getting for MVC Model and trying in the different approach.
Added the System.Data.Entity.dll from reference but it is not working and getting as;
But it will resolve by just installing the nuget pacakage.
rt Click on Project --> Click on manage Nu Get Package -->
wizard will open --> do search online --> you will get the entity frame work.
Just install that entity frame work. it will resolve that problem. Now you can see the DBContext is reading there.
Added the System.Data.Entity.dll from reference but it is not working and getting as;
But it will resolve by just installing the nuget pacakage.
rt Click on Project --> Click on manage Nu Get Package -->
wizard will open --> do search online --> you will get the entity frame work.
Just install that entity frame work. it will resolve that problem. Now you can see the DBContext is reading there.
No comments:
Post a Comment