如何处理网站数据库的演化设计?
我即将在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您主要是在寻找对 .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?