Developing a separate project with Entity Framework
i want to create a class library project which will my data access layer project and there i want to generate edmx开发者_开发技巧 data model file with EF and want to communicate with my dal from my business layer which is a another separate project.
thanks
If you're asking how to do this it's pretty easy.
- Add a new project to your solution.
- Add an ADO.NET Entity Data Model (EDMX file).
- Optionally add a DataAccess class/es to access the data.
- Add a reference to this project from your Business Layer project.
精彩评论