Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Created Issue: unable to generate mvc controller with ef [741]

$
0
0
hi,
i just installed mvc tools 2012.2 rc1 and created a new asp.net mvc 4 application, added a new edmx data model, and tried to create a new controller with CRUD methods using ef.
running the wizard with ef 5.0 gives this error shown in picture 1, telling me that the class is not part of the model, upgrading to ef 6 a2 tells me that cannot cast System.Data.Entity.Core.Objects.ObjectContext to type System.Data.Entity.Objects.ObjectContext.
how can i fix this?

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>