MTS.DBMigrator.Abstractions 1.0.73

dotnet add package MTS.DBMigrator.Abstractions --version 1.0.73
                    
NuGet\Install-Package MTS.DBMigrator.Abstractions -Version 1.0.73
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MTS.DBMigrator.Abstractions" Version="1.0.73" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MTS.DBMigrator.Abstractions" Version="1.0.73" />
                    
Directory.Packages.props
<PackageReference Include="MTS.DBMigrator.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MTS.DBMigrator.Abstractions --version 1.0.73
                    
#r "nuget: MTS.DBMigrator.Abstractions, 1.0.73"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MTS.DBMigrator.Abstractions@1.0.73
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MTS.DBMigrator.Abstractions&version=1.0.73
                    
Install as a Cake Addin
#tool nuget:?package=MTS.DBMigrator.Abstractions&version=1.0.73
                    
Install as a Cake Tool

MTS.DBMigrator.Abstractions

Contracts and base classes for versioned SQL migrations. Targets .NET Standard 2.1; SQL Server execution is supplied separately by MTS.DBMigrator.SQLServer.

Install

dotnet add package MTS.DBMigrator.Abstractions

Define a migration

using MTS.DBMigrator.Abstractions;

public sealed class _1_0_0_0001 : MigrationBase<MigrationContext>
{
    public _1_0_0_0001(MigrationContext context) : base(context) { }
    protected override string SQL => "CREATE TABLE dbo.Example (Id int NOT NULL);";
}

Migration class names use numeric components separated by underscores. The base class derives the script ID, version, ordering value, and script hash from the class and SQL. CanExecute and CanRunScriptInAssembly can be overridden to control execution.

Set the context's Assembly to the consumer assembly and its ConnectionString before execution. The default assembly-version check limits which migration versions can run. IMigrator and AbstractMigrator<TContext> expose execution and status; ISQLServerExecutor abstracts SQL execution.

License

Licensed under the MIT License. See the included LICENSE.txt. Dependencies retain their own licences.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MTS.DBMigrator.Abstractions:

Package Downloads
MTS.DBMigrator.SQLServer

SQL Server migration runner using MTS migration abstractions, SQL Management Objects, and migration history tracking.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.73 99 10/15/2026
1.0.72 100 10/15/2026
1.0.71 150 9/8/2026
1.0.69 145 9/4/2026
1.0.68 133 9/4/2026
1.0.67 146 9/4/2026
1.0.66 136 9/2/2026
1.0.64 133 9/1/2026
1.0.63 157 8/17/2026
1.0.59 173 6/2/2026
1.0.57 165 5/22/2026
1.0.56 166 5/6/2026
1.0.55 146 5/6/2026
1.0.50 384 1/15/2024
1.0.49 292 1/12/2024
1.0.48 320 1/4/2024
1.0.47 316 1/4/2024
1.0.46 374 10/18/2023
1.0.45 285 10/17/2023
1.0.44 347 7/26/2023
Loading failed