C# Class Humpback.Tests.TestMigrationProvider

Inheritance: IMigrationProvider
Mostra file Open project: jasonmw/Humpback Class Usage Examples

Public Methods

Method Description
DatabaseMigrationNumber ( ) : int
GetMigrationWithContents ( int migration_number ) : string>.KeyValuePair
GetMigrations ( ) : string>.SortedDictionary
GetMigrationsContents ( ) : string>.SortedDictionary
SetMigrationNumber ( int number ) : void

Private Methods

Method Description
AddColumnReference ( ) : string>.KeyValuePair
AddColumns ( ) : string>.KeyValuePair
AddIndex ( ) : string>.KeyValuePair
AddTableTwoReference ( ) : string>.KeyValuePair
ChangeColumns ( ) : string>.KeyValuePair
CreateTable ( ) : string>.KeyValuePair
CreateTableWithNullAndDefault ( ) : string>.KeyValuePair
Drop2Tables ( ) : string>.KeyValuePair
DropTable ( ) : string>.KeyValuePair
RemoveColumn ( ) : string>.KeyValuePair
RemoveIndex ( ) : string>.KeyValuePair

Method Details

DatabaseMigrationNumber() public method

public DatabaseMigrationNumber ( ) : int
return int

GetMigrationWithContents() public method

public GetMigrationWithContents ( int migration_number ) : string>.KeyValuePair
migration_number int
return string>.KeyValuePair

GetMigrations() public method

public GetMigrations ( ) : string>.SortedDictionary
return string>.SortedDictionary

GetMigrationsContents() public method

public GetMigrationsContents ( ) : string>.SortedDictionary
return string>.SortedDictionary

SetMigrationNumber() public method

public SetMigrationNumber ( int number ) : void
number int
return void