Rails 迁移的 C# 替代方案 [英] C# alternative of rails migrations
问题描述
有谁知道 C# 工具的行为方式与 Ruby on Rails 中的迁移行为类似?
Does anyone know of a C# tool that behaves in a similar way to migrations in Ruby on Rails?
因此,rails 迁移是一个包含构造和销毁方法的 ruby 文件.
So a rails migration is a ruby file which contains a construct and destruct method.
迁移的目的是修改数据库(结构或数据).可以将更改应用于数据库并回滚它们.这是一个非常巧妙的解决方案.
The point of migrations are to make amendments to a database (either structural or data). It's possible to apply changes to the DB and also roll them back. It's a really neat solution.
有关更多信息,请查看此链接Rails 指南:迁移
for more information check this link Rails Guides: Migrations
推荐答案
FluentMigrator
FluentMigrator
Fluent Migrator 是一种迁移.net 框架很像 Ruby迁移.
Fluent Migrator is a migration framework for .net much like Ruby Migrations.
这篇关于Rails 迁移的 C# 替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!