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

Migration transformations provider for Microsoft SQL Server.
Inheritance: TransformationProvider
Afficher le fichier Open project: juanplopes/simple

Méthodes publiques

Méthode 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 méthode

public AddColumn ( string table, string sqlColumn ) : void
table string
sqlColumn string
Résultat void

ColumnExists() public méthode

public ColumnExists ( string table, string column ) : bool
table string
column string
Résultat bool

ConstraintExists() public méthode

public ConstraintExists ( string table, string name ) : bool
table string
name string
Résultat bool

RemoveColumn() public méthode

public RemoveColumn ( string table, string column ) : void
table string
column string
Résultat void

RenameColumn() public méthode

public RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void
tableName string
oldColumnName string
newColumnName string
Résultat void

RenameTable() public méthode

public RenameTable ( string oldName, string newName ) : void
oldName string
newName string
Résultat void

SqlServerTransformationProvider() public méthode

public SqlServerTransformationProvider ( Dialect dialect, string invariantProvider, string connectionString ) : System
dialect Dialect
invariantProvider string
connectionString string
Résultat System

TableExists() public méthode

public TableExists ( string table ) : bool
table string
Résultat bool