有什么样的ActiveRecord ::移民.NET? [英] Is there something like ActiveRecord::Migration for .NET?
问题描述
我已经与Ruby on Rails的的ActiveRecord ::迁移
类打得四处,我喜欢它是多么容易保持版本的数据库模式。我想要做类似的事情在我的ASP.NET项目,我想知道是否有人听说做什么的ActiveRecord ::迁移
的确但对于.NET的工具。
I've played around with ruby on rails' ActiveRecord::Migration
class and I like how easy it is to keep database schemas versioned. I want to do something similar in my ASP.NET project and I'm wondering if anyone has heard of a tool that does what ActiveRecord::Migration
does but for .NET.
我没有看到定义在C#或Ruby code我的SQL脚本的需要,我只想写SQL。但是,是否有管理SQL脚本和跟踪你需要运行哪些脚本得到同步的工具?
I don't see the need of defining my SQL scripts in C# or ruby code, I just want to write SQL. But is there a tool that manages SQL scripts and keeps track of what scripts you need to run to get in sync?
推荐答案
migratordotnet 是一个数据库版本系统非常类似的Ruby on Rail的迁移。它的目的是自动化数据库更改,并帮助保持这些变化同步整个环境。
migratordotnet is a database versioning system much like Ruby on Rail's Migrations. Its purpose is to automate your database changes, and help keep those changes in sync throughout your environments.
这篇关于有什么样的ActiveRecord ::移民.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!