forked from fluentmigrator/fluentmigrator
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting FluentMigrator
iceclow edited this page Sep 5, 2011
·
3 revisions
The most easy way to get Fluent Migrator and keeping up-to-date is from the nuget packages.
NuGet is a Visual Studio extension that makes it easy to install and update open source libraries and tools in Visual Studio.
You can install it from here
Once Nuget is installed, create a new Visual Studio library project for your migrations. Then launch the package manager console from Visual Studio:
In the package manager console, type:
PM> Install-Package FluentMigrator
Also if you would want to run migrations from the command prompt, nant or msbuild you need the Tools package:
PM> Install-Package FluentMigrator.Tools
Now you are ready to create your first Migration
- Getting FluentMigrator
- How to create a Migration
- Fluent Interface
- Migration Runners
- Use inbuilt database functions when setting the default value
- Sql Server Specific Extensions
- Raw Sql Helper for inserting data
- Auto Reversing Migrations
- Resharper File Template
- Transaction Modes for the Migration Runner
- ApplicationContext: Passing parameters to Migrations
- Dealing with Multiple Database Types
- Filter migrations run based on Tags
- Enforce migration version numbering rules
- Create custom metadata for the VersionInfo table