C# Class FluentMigrator.SchemaDump.SchemaDumpers.SqlServerSchemaDumper

Inheritance: ISchemaDumper
Mostra file Open project: revdotcom/fluentmigrator Class Usage Examples

Public Methods

Method Description
Execute ( string template ) : void
Exists ( string template ) : bool
Process ( FluentMigrator.Builders.Execute.PerformDBOperationExpression expression ) : void
Read ( string template ) : DataSet
ReadDbSchema ( ) : IList
ReadTableData ( string tableName ) : DataSet
SqlServerSchemaDumper ( FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor processor, IAnnouncer announcer ) : System.Collections.Generic

Protected Methods

Method Description
FormatSqlEscape ( string sql ) : string
GetDbType ( int typeNum ) : DbType
ReadForeignKeys ( string schemaName, string tableName ) : IList
ReadIndexes ( string schemaName, string tableName ) : IList
ReadTables ( ) : IList

Method Details

Execute() public method

public Execute ( string template ) : void
template string
return void

Exists() public method

public Exists ( string template ) : bool
template string
return bool

FormatSqlEscape() protected method

protected FormatSqlEscape ( string sql ) : string
sql string
return string

GetDbType() protected method

protected GetDbType ( int typeNum ) : DbType
typeNum int
return DbType

Process() public method

public Process ( FluentMigrator.Builders.Execute.PerformDBOperationExpression expression ) : void
expression FluentMigrator.Builders.Execute.PerformDBOperationExpression
return void

Read() public method

public Read ( string template ) : DataSet
template string
return System.Data.DataSet

ReadDbSchema() public method

public ReadDbSchema ( ) : IList
return IList

ReadForeignKeys() protected method

protected ReadForeignKeys ( string schemaName, string tableName ) : IList
schemaName string
tableName string
return IList

ReadIndexes() protected method

protected ReadIndexes ( string schemaName, string tableName ) : IList
schemaName string
tableName string
return IList

ReadTableData() public method

public ReadTableData ( string tableName ) : DataSet
tableName string
return System.Data.DataSet

ReadTables() protected method

protected ReadTables ( ) : IList
return IList

SqlServerSchemaDumper() public method

public SqlServerSchemaDumper ( FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor processor, IAnnouncer announcer ) : System.Collections.Generic
processor FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor
announcer IAnnouncer
return System.Collections.Generic