C# Class Simple.Generator.Misc.MsSqlResetDbCommand

Inheritance: ICommand
Show file Open project: juanplopes/simple

Public Methods

Method Description
Execute ( ) : void

Protected Methods

Method Description
MakeCreate ( string dbName ) : string
MakeDrop ( string dbName ) : string
ResetInternal ( string cs, string dbName ) : void

Private Methods

Method Description
ExecScript ( string scriptDrop, SqlConnection conn, bool logSqlException ) : void

Method Details

Execute() public abstract method

public abstract Execute ( ) : void
return void

MakeCreate() protected abstract method

protected abstract MakeCreate ( string dbName ) : string
dbName string
return string

MakeDrop() protected abstract method

protected abstract MakeDrop ( string dbName ) : string
dbName string
return string

ResetInternal() protected method

protected ResetInternal ( string cs, string dbName ) : void
cs string
dbName string
return void