Ok, But is there any way i remove .demx project from my solution and generate model from there and add in my Model folder so i can use entity framework and there will no dependency for .edmx file and no warries about how heavy my edmx file is?
If you are using EF(DataBase-first or ModelFirst),you cannot leave edmx;however if you are using Code-First,you can!:-)
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: Best practice for entity framework
May 31, 2012 12:52 AM|LINK
If you are using EF(DataBase-first or ModelFirst),you cannot leave edmx;however if you are using Code-First,you can!:-)
For more about Code-First,you can see this:
http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx
And you can download the latest Code-First dll file from NuGet.
Reguards!