Where to place the entity framework in our solution?

前端 未结 2 1668
面向向阳花
面向向阳花 2021-01-13 01:33

Okay, so we have a solution that contains the following projects:

  • BusinessLogic
  • Entities
  • DataAccess
  • Utilities
  • UnitTests
2条回答
  •  渐次进展
    2021-01-13 02:19

    Place EDMX file to DataAccess. Add T4 template for entities and move it from DataAccess to Entities (you will probably have to modify path to EDMX in the template). It will work - I'm using it all the time.

    Edit:

    Here is Walktrhough for POCOs but it should be same with STEs.

提交回复
热议问题