C# Class FluentMigrator.Runner.Processors.SqlServer.SqlServer2000Processor

Inheritance: ProcessorBase
显示文件 Open project: revdotcom/fluentmigrator

Public Methods

Method Description
ColumnExists ( string schemaName, string tableName, string columnName ) : bool
ConstraintExists ( string schemaName, string tableName, string constraintName ) : bool
DefaultValueExists ( string schemaName, string tableName, string columnName, object defaultValue ) : bool
Execute ( string template ) : void
Exists ( string template ) : bool
IndexExists ( string schemaName, string tableName, string indexName ) : bool
Process ( FluentMigrator.Builders.Execute.PerformDBOperationExpression expression ) : void
Read ( string template ) : DataSet
ReadTableData ( string schemaName, string tableName ) : DataSet
SchemaExists ( string schemaName ) : bool
SequenceExists ( string schemaName, string sequenceName ) : bool
SqlServer2000Processor ( IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory ) : System
TableExists ( string schemaName, string tableName ) : bool

Protected Methods

Method Description
Process ( string sql ) : void

Private Methods

Method Description
ExecuteBatchNonQuery ( string sql ) : void
ExecuteNonQuery ( string sql ) : void
FormatSqlEscape ( string sql ) : string

Method Details

ColumnExists() public method

public ColumnExists ( string schemaName, string tableName, string columnName ) : bool
schemaName string
tableName string
columnName string
return bool

ConstraintExists() public method

public ConstraintExists ( string schemaName, string tableName, string constraintName ) : bool
schemaName string
tableName string
constraintName string
return bool

DefaultValueExists() public method

public DefaultValueExists ( string schemaName, string tableName, string columnName, object defaultValue ) : bool
schemaName string
tableName string
columnName string
defaultValue object
return bool

Execute() public method

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

Exists() public method

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

IndexExists() public method

public IndexExists ( string schemaName, string tableName, string indexName ) : bool
schemaName string
tableName string
indexName string
return bool

Process() public method

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

Process() protected method

protected Process ( string sql ) : void
sql string
return void

Read() public method

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

ReadTableData() public method

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

SchemaExists() public method

public SchemaExists ( string schemaName ) : bool
schemaName string
return bool

SequenceExists() public method

public SequenceExists ( string schemaName, string sequenceName ) : bool
schemaName string
sequenceName string
return bool

SqlServer2000Processor() public method

public SqlServer2000Processor ( IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory ) : System
connection IDbConnection
generator IMigrationGenerator
announcer IAnnouncer
options IMigrationProcessorOptions
factory IDbFactory
return System

TableExists() public method

public TableExists ( string schemaName, string tableName ) : bool
schemaName string
tableName string
return bool