开发者

C# alternative of rails migrations [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

Does anyone know of a C# tool that behaves in a similar way to migrations in Ruby on Rails?

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.

for more information check this link Rails Guides: Migr开发者_高级运维ations


There is Fluent Migrator.

FluentMigrator

Fluent Migrator is a migration framework for .net much like Ruby Migrations.


The main options I'm aware of are migrator.net and rikmigrations


How about octalforty-wizardby

http://code.google.com/p/octalforty-wizardby/


Here's a brand new one: https://github.com/dradovic/MigSharp

It has support for SQL Server 2005/2008/CE 4, Oracle, and Teradata. It also includes a nice validation framework that checks your migrations for potential cross-db issues and gives you hints to how to resolve them.

On top of that, it has a couple of more interesting features: multi-module support, deterministic SQL generation, etc. Read on here: https://github.com/dradovic/MigSharp/wiki/Feature-Overview


The Subsonic ORM has a built in migration feature. Here's a link to the docs - 3.0 Migrations


Database/datastore agnostic solution: https://github.com/Mission3/migrations

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜