C# Class Horton.SqlServer.SchemaInfo

Inheritance: IDisposable
ファイルを表示 Open project: jdaigle/Horton Class Usage Examples

Public Methods

Method Description
ApplyMigration ( ScriptFile migration ) : void
Dispose ( ) : void
InitializeTable ( ) : void
ParseSqlScript ( string script ) : string[]
ResyncMigration ( ScriptFile migration ) : void
SchemaInfo ( HortonOptions options ) : System

Private Methods

Method Description
AssertNotDisposed ( ) : void
RecordMigration ( DbTransaction transaction, ScriptFile migration, double transactionDuractionMS ) : void
TryDeleteMigration ( DbTransaction transaction, ScriptFile migration ) : void

Method Details

ApplyMigration() public method

public ApplyMigration ( ScriptFile migration ) : void
migration ScriptFile
return void

Dispose() public method

public Dispose ( ) : void
return void

InitializeTable() public method

public InitializeTable ( ) : void
return void

ParseSqlScript() public static method

public static ParseSqlScript ( string script ) : string[]
script string
return string[]

ResyncMigration() public method

public ResyncMigration ( ScriptFile migration ) : void
migration ScriptFile
return void

SchemaInfo() public method

public SchemaInfo ( HortonOptions options ) : System
options HortonOptions
return System