C# Class MigSharp.Process.Versioning

Implements IVersioning without creating a versioning table until it is really needed.
Inheritance: IVersioning
ファイルを表示 Open project: dradovic/MigSharp

Private Properties

Property Type Description
GetPersistedVersioning PersistedVersioning
UpdateToInclude void
Versioning System

Public Methods

Method Description
Update ( IMigrationStepMetadata metadata, IDbConnection connection, IDbTransaction transaction, IDbCommandExecutor commandExecutor ) : void

Private Methods

Method Description
GetPersistedVersioning ( IDbConnection connection, IDbTransaction transaction, IDbCommandExecutor executor ) : PersistedVersioning
UpdateToInclude ( IEnumerable containedMigrations, IDbConnection connection, IDbTransaction transaction ) : void
Versioning ( IRuntimeConfiguration configuration, TableName versioningTableName ) : System

Method Details

Update() public method

public Update ( IMigrationStepMetadata metadata, IDbConnection connection, IDbTransaction transaction, IDbCommandExecutor commandExecutor ) : void
metadata IMigrationStepMetadata
connection IDbConnection
transaction IDbTransaction
commandExecutor IDbCommandExecutor
return void