简体   繁体   English

任何样本C#项目都会突出显示单独的数据访问层(使用EF)到业务逻辑层

[英]Any sample C# project that highlights separate data access layer (using EF) to business logic layer

I'm interested in having a look at a small sample project that would highlight a good technique to separate data access layer (using Entity Framework) to business logic layer. 我有兴趣看一个小样本项目,该项目将突出显示将数据访问层(使用实体框架)与业务逻辑层分离的良好技术。 In C# would be good. 在C#中会很好。

That is, it would highlight how to pass data between the layer without coupling them. 也就是说,它将突出显示如何在层之间传递数据而不耦合它们。 That is, the assumption here is not to use the EF classes in the Business Logic layer, and how to achieve this low coupling, but minimizing plumbing code. 也就是说,这里的假设不是在业务逻辑层中使用EF类,以及如何实现这种低耦合,而是最小化管道代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM