C# Class NLite.Data.Schema.Script.Executor.DatabaseScriptExecutor

Inheritance: IDatabaseScriptExecutor
Show file Open project: netcasewqs/elinq

Public Methods

Method Description
CreateDatabase ( DbConfiguration dbConfiguration, DatabaseScriptEntry script ) : void
CreateTables ( DbConfiguration dbConfiguration, DatabaseScriptEntry script ) : void
DatabaseExists ( DbConfiguration dbConfiguration ) : bool
DeleteDatabase ( DbConfiguration dbConfiguration ) : void

Protected Methods

Method Description
CreateTables ( ISqlLog log, DatabaseScriptEntry script, IDbContext ctx ) : void

Method Details

CreateDatabase() public abstract method

public abstract CreateDatabase ( DbConfiguration dbConfiguration, DatabaseScriptEntry script ) : void
dbConfiguration DbConfiguration
script DatabaseScriptEntry
return void

CreateTables() public method

public CreateTables ( DbConfiguration dbConfiguration, DatabaseScriptEntry script ) : void
dbConfiguration DbConfiguration
script DatabaseScriptEntry
return void

CreateTables() protected method

protected CreateTables ( ISqlLog log, DatabaseScriptEntry script, IDbContext ctx ) : void
log ISqlLog
script DatabaseScriptEntry
ctx IDbContext
return void

DatabaseExists() public abstract method

public abstract DatabaseExists ( DbConfiguration dbConfiguration ) : bool
dbConfiguration DbConfiguration
return bool

DeleteDatabase() public abstract method

public abstract DeleteDatabase ( DbConfiguration dbConfiguration ) : void
dbConfiguration DbConfiguration
return void