FluentMigrator is a database migration framework for .NET written in C#. The basic idea is that you can create migrations which are simply classes that derive from the Migration base class and have a Migration attribute with a unique version number attached to them. Upon executing FluentMigrator, you tell it which version to migrate to and it will run all necessary migrations in order to bring your database up to that version. In addition to forward migration support, FluentMigrator also supports different ways to execute the migrations along with selective migrations called profiles and executing arbitrary SQL.
See the version list below for details.
Requires NuGet 3.5 or higher.
Install-Package FluentMigrator.Runner.SqlServer -Version 2.0.0
dotnet add package FluentMigrator.Runner.SqlServer --version 2.0.0
<PackageReference Include="FluentMigrator.Runner.SqlServer" Version="2.0.0" />
paket add FluentMigrator.Runner.SqlServer --version 2.0.0