C# Class Skimur.Postgres.Migrations.DB.Versioner

Inheritance: IVersioner
Mostra file Open project: skimur/skimur Class Usage Examples

Public Methods

Method Description
CurrentVersion ( MigrationType type ) : int
SetVersion ( Migration migration ) : bool
Versioner ( IDbConnectionProvider connectionProvider, ILogger logger ) : System

Method Details

CurrentVersion() public method

public CurrentVersion ( MigrationType type ) : int
type MigrationType
return int

SetVersion() public method

public SetVersion ( Migration migration ) : bool
migration Migration
return bool

Versioner() public method

public Versioner ( IDbConnectionProvider connectionProvider, ILogger logger ) : System
connectionProvider IDbConnectionProvider
logger ILogger
return System