Méthode | Description | |
---|---|---|
BeginTableLoad ( IDbConnection connection, TableSchema table ) : void | ||
CreateConnection ( string connStr ) : IDbConnection | ||
CreateDatabase ( string connectionString ) : void | ||
EndTableLoad ( IDbConnection connection, TableSchema table ) : void | ||
LoadExistingSchema ( string connStr ) : DBSchema |
Создать схему метаданных из исходной базы
|
Méthode | Description | |
---|---|---|
AfterSchemaComparision ( DBSchema existingSchema, DBSchema targetSchema ) : void | ||
CheckIndexTypeForRecreate ( IndexSchema eIndex ) : bool | ||
CheckKeyTypeForRecreate ( KeySchema eKey ) : bool | ||
DbscCopyPrepare ( DBSchema schema ) : DBSchema | ||
ExecuteDdlCommands ( IEnumerable |
||
MakeDdlIndexCreate ( IndexSchema index, TableSchema table ) : string | ||
ParseColumn ( TableColumnSchema column ) : string | ||
ParseColumnAlter ( TableColumnSchema mColumn, TableColumnSchema eColumn ) : string | ||
WriteDdlCommands ( |
Méthode | Description | |
---|---|---|
ConnectToMaster ( string connectionString, string &dbName ) : |
||
TableHasIdentityColumns ( TableSchema table ) : bool |
protected AfterSchemaComparision ( DBSchema existingSchema, DBSchema targetSchema ) : void | ||
existingSchema | DBSchema | |
targetSchema | DBSchema | |
Résultat | void |
public BeginTableLoad ( IDbConnection connection, TableSchema table ) : void | ||
connection | IDbConnection | |
table | TableSchema | |
Résultat | void |
protected CheckIndexTypeForRecreate ( IndexSchema eIndex ) : bool | ||
eIndex | IndexSchema | |
Résultat | bool |
protected CheckKeyTypeForRecreate ( KeySchema eKey ) : bool | ||
eKey | KeySchema | |
Résultat | bool |
public CreateConnection ( string connStr ) : IDbConnection | ||
connStr | string | |
Résultat | IDbConnection |
public CreateDatabase ( string connectionString ) : void | ||
connectionString | string | |
Résultat | void |
protected DbscCopyPrepare ( DBSchema schema ) : DBSchema | ||
schema | DBSchema | |
Résultat | DBSchema |
public EndTableLoad ( IDbConnection connection, TableSchema table ) : void | ||
connection | IDbConnection | |
table | TableSchema | |
Résultat | void |
protected ExecuteDdlCommands ( IEnumerable |
||
commands | IEnumerable |
|
connStr | string | |
Résultat | void |
public LoadExistingSchema ( string connStr ) : DBSchema | ||
connStr | string | |
Résultat | DBSchema |
protected MakeDdlIndexCreate ( IndexSchema index, TableSchema table ) : string | ||
index | IndexSchema | |
table | TableSchema | |
Résultat | string |
protected ParseColumn ( TableColumnSchema column ) : string | ||
column | TableColumnSchema | |
Résultat | string |
protected ParseColumnAlter ( TableColumnSchema mColumn, TableColumnSchema eColumn ) : string | ||
mColumn | TableColumnSchema | |
eColumn | TableColumnSchema | |
Résultat | string |
protected WriteDdlCommands ( |
||
wr | ||
commands | IEnumerable |
|
Résultat | void |