开发者

Runtime database migration in .NET (does it exist?)

There are a lot of post about rails-like database migrations in .NET, but none of them seem to do what I want them to do.

I have a WPF project and we're using Prism to create loadable modules. What I'd like to do is allow the module to hand off a database migration to the core at load time, with migration and any seed data. If that migration already exists, it ignores it, otherwi开发者_C百科se it migrates (or updates if a new version- not sure how to work that)

It seems like all of the systems are using NAnt or MSBuild and I wondered if there was a framework out there for runtime migrations. If not, has anyone seen such runtime database manipulation elsewhere to emulate? Good directions or ideas?


You mean something like FluentMigrator?

After more searching, I found this question: https://stackoverflow.com/q/8033/50079

which has more valuable answers. Have a look at it as well.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜