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 ( Migrator.Framework.Dialect dialect, string connectionString ) : System | ||
TableExists ( string table ) : bool |
Method | Description | |
---|---|---|
CreateConnection ( ) : void | ||
FindConstraints ( string table, string column ) : string | ||
GetSchemaName ( string longTableName ) : string | ||
GetTableName ( string longTableName ) : string | ||
RemoveBrackets ( string stringWithBrackets ) : string | ||
SplitTableName ( string longTableName ) : string[] |
Method | Description | |
---|---|---|
DeleteColumnConstraints ( string table, string column ) : void |
public AddColumn ( string table, string sqlColumn ) : void | ||
table | string | |
sqlColumn | string | |
return | void |
public ColumnExists ( string table, string column ) : bool | ||
table | string | |
column | string | |
return | bool |
public ConstraintExists ( string table, string name ) : bool | ||
table | string | |
name | string | |
return | bool |
protected FindConstraints ( string table, string column ) : string | ||
table | string | |
column | string | |
return | string |
protected GetSchemaName ( string longTableName ) : string | ||
longTableName | string | |
return | string |
protected GetTableName ( string longTableName ) : string | ||
longTableName | string | |
return | string |
protected RemoveBrackets ( string stringWithBrackets ) : string | ||
stringWithBrackets | string | |
return | string |
public RemoveColumn ( string table, string column ) : void | ||
table | string | |
column | string | |
return | void |
public RenameColumn ( string tableName, string oldColumnName, string newColumnName ) : void | ||
tableName | string | |
oldColumnName | string | |
newColumnName | string | |
return | void |
public RenameTable ( string oldName, string newName ) : void | ||
oldName | string | |
newName | string | |
return | void |
protected SplitTableName ( string longTableName ) : string[] | ||
longTableName | string | |
return | string[] |
public SqlServerTransformationProvider ( Migrator.Framework.Dialect dialect, string connectionString ) : System | ||
dialect | Migrator.Framework.Dialect | |
connectionString | string | |
return | System |