开发者

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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜