VS2010 MVC and Entity Framework Model in Separate Project
- by mdm
Hi,
I am trying to use an Entity Framework Model (in separate project) into an asp.net 4 MVC project (VS2010, C#)
If I create the EF inside the MVC project I have no problems.
I think I am missing some step.
things done:
1. added reference to the EF class project
2. added connection string in MVC web.config
3. added reference to System.Data.Entity in both web.config and project references
Now i can use the model only if I copy the .edmx file to the Models folder, but in this way the EF project is not external anymore.
What am I missing?
Thank you in advance.