C# Class Frapid.Installer.DAL.SqlServer

Inheritance: IStore
Show file Open project: frapid/frapid

Public Methods

Method Description
CleanupDbAsync ( string tenant, string database ) : System.Threading.Tasks.Task
CreateDbAsync ( string tenant ) : System.Threading.Tasks.Task
HasDbAsync ( string tenant, string database ) : Task
HasSchemaAsync ( string tenant, string database, string schema ) : Task
RunSqlAsync ( string tenant, string database, string fromFile ) : Task

Private Methods

Method Description
RunScriptAsync ( SqlConnection connection, string sql ) : Task

Method Details

CleanupDbAsync() public method

public CleanupDbAsync ( string tenant, string database ) : System.Threading.Tasks.Task
tenant string
database string
return System.Threading.Tasks.Task

CreateDbAsync() public method

public CreateDbAsync ( string tenant ) : System.Threading.Tasks.Task
tenant string
return System.Threading.Tasks.Task

HasDbAsync() public method

public HasDbAsync ( string tenant, string database ) : Task
tenant string
database string
return Task

HasSchemaAsync() public method

public HasSchemaAsync ( string tenant, string database, string schema ) : Task
tenant string
database string
schema string
return Task

RunSqlAsync() public method

public RunSqlAsync ( string tenant, string database, string fromFile ) : Task
tenant string
database string
fromFile string
return Task