领域模型 + LINQ 到 SQL 示例

发布于 2024-07-14 10:13:30 字数 130 浏览 4 评论 0原文

我想知道是否有一个企业应用程序示例,在业务逻辑层中使用域模型和数据映射器的 LINQ 进行设计? 我不太确定如何将 LINQ to SQL 的 UnitOfWork 功能与业务层中的业务对象结合使用。

谢谢, 卢西恩

I wonder if there is an enterprise application sample, designed with Domain Model in the Business Logic layer and LINQ for the Data Mapper? I'm not so sure of how to use the UnitOfWork ability of LINQ to SQL in conjunction with business objects from the Business Layer.

Thanks,
Lucian

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

謌踐踏愛綪 2024-07-21 10:13:30

查看 MVC 店面。 它使用网络广播和博客文章中介绍的 Linq to Sql、域驱动设计和 ASP.NET MVC。 强烈推荐!

Take a look at MVC Storefront. It uses Linq to Sql, domain driven design and ASP.NET MVC presented in webcasts and blog posts. Highly reccomended!

黑寡妇 2024-07-21 10:13:30

我刚刚发布了一个简单的示例,使用 T4 模板、IoC 和 StructureMap 等。 http://daniel.wertheim.se/2010/03/14/linq-to-sql-how-to-separate-the-entities-and- the-datacontext/

查看评论。 我即将对 United of Work 实施进行更新。

I just published a simple sample using T4 templates, IoC with StructureMap etc. http://daniel.wertheim.se/2010/03/14/linq-to-sql-how-to-separate-the-entities-and-the-datacontext/

Check the comment. I'm about to make an update to the United of work implementation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文