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?
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?