C# Class Frapid.Installer.DAL.Store

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 dbName ) : Task
HasSchemaAsync ( string tenant, string database, string schema ) : Task
RunSqlAsync ( string tenant, string database, string fromFile ) : System.Threading.Tasks.Task

Private Methods

Method Description
GetDbServer ( string tenant ) : IStore

Method Details

CleanupDbAsync() public static method

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

CreateDbAsync() public static method

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

HasDbAsync() public static method

public static HasDbAsync ( string tenant, string dbName ) : Task
tenant string
dbName string
return Task

HasSchemaAsync() public static method

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

RunSqlAsync() public static method

public static RunSqlAsync ( string tenant, string database, string fromFile ) : System.Threading.Tasks.Task
tenant string
database string
fromFile string
return System.Threading.Tasks.Task