C# Class Habanero.Test.Migrations.DatabaseInitialiser

Exibir arquivo Open project: Chillisoft/habanero Class Usage Examples

Public Methods

Method Description
CreateDatabase ( ) : void
DatabaseExists ( ) : bool
DatabaseInitialiser ( DatabaseConfig databaseConfig ) : System
DropDatabase ( ) : void

Private Methods

Method Description
GetCreateDatabaseSql ( ) : string
GetDatabaseExistsSql ( ) : string
GetDropDatabaseSql ( ) : string
GetMasterDatabaseConfig ( ) : DatabaseConfig

Method Details

CreateDatabase() public method

public CreateDatabase ( ) : void
return void

DatabaseExists() public method

public DatabaseExists ( ) : bool
return bool

DatabaseInitialiser() public method

public DatabaseInitialiser ( DatabaseConfig databaseConfig ) : System
databaseConfig Habanero.DB.DatabaseConfig
return System

DropDatabase() public method

public DropDatabase ( ) : void
return void