如何处理网站数据库的演化设计?

发布于 2024-12-27 20:10:23 字数 201 浏览 2 评论 0原文

我即将在 ASP.NET MVC 3 网站上开始我的第一个项目。该网站将有数据存储,我想知道处理网站背后数据库的进化设计的最佳方法是什么 - 网站启动后,它将扩展并继续增长,因此数据库重构将是一个问题。处理这个“问题”的最佳方法是什么?我正在考虑使用像NHibernate或Entity Framework这样的ORM,但是它们都不支持进化数据库设计。

任何帮助表示赞赏。

I am about to start my first project on an ASP.NET MVC 3 web-site. This site will have data storage and I am wondering what's the best way to deal with the evolutionary design of the database behind the web-site - after the site launches, it will be extended and it will keep on growning thus database refactoring will be an issue. What's the best way to deal with this "problem"? I was thinking of using an ORM like NHibernate or Entity Framework, but neither of them support evolutionary database design.

Any help is appreciated.

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

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

发布评论

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

评论(1

佞臣 2025-01-03 20:10:23

您主要是在寻找对 .NET 的迁移支持吗?

https://stackoverflow.com/questions/313/net-migrations-engine

https://stackoverflow.com/questions/8033/database-migration-library-for-net

.NET迁移:在运行时设置和迁移多个数据库

我可以向您保证,开发人员正在使用 NHibernate 和实体框架进行渐进式数据库设计,因此这是完全可能的。也许您想要一个高度工具化的自动化流程?

Are you looking for migrations support for .NET primarily?

https://stackoverflow.com/questions/313/net-migrations-engine

https://stackoverflow.com/questions/8033/database-migration-library-for-net

.NET migrations: Setup and migrate multiple databases at runtime

I can assure you that developers are doing evolutionary database design with both NHibernate and Entity Framework, so it's entirely possible. Maybe you want a highly tooled, automated process though?

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