哪些 .NET 框架允许您首先创建业务实体,然后创建数据库

发布于 2024-07-10 01:55:18 字数 161 浏览 5 评论 0原文

是否有任何 .NET 框架允许您先创建业务实体,然后再创建数据库。 换句话说,允许您使用 DDD/Persistence Ignorance 方法稍后备份到数据库中。 允许您编写的模型/类生成 SQL DDL 和迁移脚本的任何工具。

请随意修改我的措辞,使其成为一个更好的问题。

Do any .NET frameworks allow you to create Business Entities first then Database.
In other words allow you to use DDD / Persistence Ignorance method of backing into the database later. Any tools that allow the Models/Classes you have written to generate the SQL DDL and migration scripts.

Feel free to rework my verbiage, and make it a better question.

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

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

发布评论

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

评论(4

如痴如狂 2024-07-17 01:55:18

NHibernate 支持领域驱动设计、持久性无知和自动数据模型生成。

NHibernate supports domain-driven design, persistence ignorance, and automated data-model generation.

淡墨 2024-07-17 01:55:18

CapableObjects 的 Eco 可以满足您的要求,甚至更多。 虽然有一些学习曲线,但生产力的提高是惊人的。 顺便说一句,与公司没有任何关系 - 只是一个非常满意的客户。

Eco from CapableObjects does what you are asking for and much more. There is a bit of learning curve, but the productivity gain is amazing. Not in any way related with the company btw - just a very happy customer.

北笙凉宸 2024-07-17 01:55:18

您可以选择 Castle ActiveRecord,它隐藏了 NHibernate 的复杂性,并且可以使用各种选项从业务实体创建模式,例如创建模式文件和直接创建数据库实体。

You may opt for Castle ActiveRecord which hides the complexity of NHibernate and can create the schema from business entities with various options like creating a schema file and creating the database entities directly.

七颜 2024-07-17 01:55:18

DataObjects.Net 旨在支持这种模式。

DataObjects.Net is designed to support exactly this pattern.

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