Problem is that when i do like :-
Right-click the Models directory and select Add?New Item?Data?ADO.NET Entity Data Model. then generatemodel from a database, it creates OopsData.edmx. and creates entity named OopsEntity. When i try to access this entity in Homecontroller it gives me error like broken reference something.
But if i do same thing by right -clicking the project (solution explorer) then i am able to access OopsEntity in HomeController.
Reason for asking that is coz i was following the MVC Music Store tut and in it, its done by creating OopsData.edmx in model folder but in my case its not working. Other question is that what is that difference between creating same thing by right clicking on (using) model or solution explorer (project).
View Complete Post