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