VivaVictoria.Chaos.Sql 1.1.1-preview

This is a prerelease version of VivaVictoria.Chaos.Sql.
There is a newer version of this package available.
See the version list below for details.
dotnet add package VivaVictoria.Chaos.Sql --version 1.1.1-preview                
NuGet\Install-Package VivaVictoria.Chaos.Sql -Version 1.1.1-preview                
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="VivaVictoria.Chaos.Sql" Version="1.1.1-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VivaVictoria.Chaos.Sql --version 1.1.1-preview                
#r "nuget: VivaVictoria.Chaos.Sql, 1.1.1-preview"                
#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.
// Install VivaVictoria.Chaos.Sql as a Cake Addin
#addin nuget:?package=VivaVictoria.Chaos.Sql&version=1.1.1-preview&prerelease

// Install VivaVictoria.Chaos.Sql as a Cake Tool
#tool nuget:?package=VivaVictoria.Chaos.Sql&version=1.1.1-preview&prerelease                

VivaVictoria.Chaos.Sql

Install

Install via nuget.

About

Basic package for RDBMS-based Chaos.
Package provides abstractions and enums for RDBMS-based IMigrator implementations like ClickHouse or DapperMigrator.

TransactionMode

TransactionMode defines how migration should be applied: inside transaction or not. Applying complex migration inside transactions allows you to keep your DB in consistent state: all changes will be rollback if error occurred.

ISqlSettings

Extensions of basic ISettings with required ConnectionString and TransactionMode fields.

Migration

Implementation of IMigration interface to provide more information about migration:

  • Name (will be used in future, now is optional)
  • TransactionMode
  • Up - upgrade sql script
  • Down - downgrade sql script
DependencyInjection

Provides simple wrapper for registering IChaos<Migration> in specified IServicesCollection. Just call AddChaosCore without generic parameter.

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. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on VivaVictoria.Chaos.Sql:

Package Downloads
VivaVictoria.Chaos.DapperMigrator

Migrator for Chaos tool based on Dapper library. Supports any ADO driver by using IDbConnection from IConnectionProvider.

VivaVictoria.Chaos.ReflectionSqlReader

Reflect API migrations loader. Allows to declare migration in C# class by annotating it with special attribute.

VivaVictoria.Chaos.RawSqlReader

Raw sql migration files loader.

VivaVictoria.Chaos.ClickHouse

ClickHouse Migrator for Chaos tool. Based on Chaos.Dapper and ClickHouse.Ado.

VivaVictoria.Chaos.ResxReader

ResX migration reader.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 2,011 10/17/2021
1.1.1-preview 1,339 10/7/2021
1.1.0 1,879 10/7/2021