C# Class Nomad.Migrations.Schema

Inheritance: ISchema
Show file Open project: marceldupr/Nomad Class Usage Examples

Public Methods

Method Description
CreateSchemaVersionTable ( ) : void
EnsureSchemaVersionTable ( ) : void
GetLatestSchemaVersion ( ) : int
Schema ( IDatabase database, ILogger logger ) : Nomad.Framework
UpdateSchemaVersionTo ( int version ) : void

Private Methods

Method Description
ResultIsNotEmpty ( object result ) : bool
ResultOrMinimum ( object result ) : int

Method Details

CreateSchemaVersionTable() public method

public CreateSchemaVersionTable ( ) : void
return void

EnsureSchemaVersionTable() public method

public EnsureSchemaVersionTable ( ) : void
return void

GetLatestSchemaVersion() public method

public GetLatestSchemaVersion ( ) : int
return int

Schema() public method

public Schema ( IDatabase database, ILogger logger ) : Nomad.Framework
database IDatabase
logger ILogger
return Nomad.Framework

UpdateSchemaVersionTo() public method

public UpdateSchemaVersionTo ( int version ) : void
version int
return void