C# Class Simple.Migrator.Providers.SqlServer.SqlServerTransformationProvider

Migration transformations provider for Microsoft SQL Server.
Inheritance: TransformationProvider
Mostrar archivo Open project: juanplopes/simple

Public Methods

Method Description
AddColumn ( string table, string sqlColumn ) : void
ColumnExists ( string table, string column ) : bool
ConstraintExists ( string table, string name ) : bool
RemoveColumn ( string table, string column ) : void
RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void
RenameTable ( string oldName, string newName ) : void
SqlServerTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System
TableExists ( string table ) : bool

Method Details

AddColumn() public method

public AddColumn ( string table, string sqlColumn ) : void
table string
sqlColumn string
return void

ColumnExists() public method

public ColumnExists ( string table, string column ) : bool
table string
column string
return bool

ConstraintExists() public method

public ConstraintExists ( string table, string name ) : bool
table string
name string
return bool

RemoveColumn() public method

public RemoveColumn ( string table, string column ) : void
table string
column string
return void

RenameColumn() public method

public RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void
tableName string
oldColumnName string
newColumnName string
return void

RenameTable() public method

public RenameTable ( string oldName, string newName ) : void
oldName string
newName string
return void

SqlServerTransformationProvider() public method

public SqlServerTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System
dialect Dialect
invariantProvider string
connectionString string
return System

TableExists() public method

public TableExists ( string table ) : bool
table string
return bool