Метод | Описание | |
---|---|---|
CreateConnection ( string connStr ) : IDbConnection | ||
CreateDatabase ( string constr ) : void | ||
LoadExistingSchema ( string connStr ) : DBSchema |
Создать схему метаданных из исходной базы
|
|
SqliteSchemaDriver ( IServiceProvider serviceProvider ) : System |
Метод | Описание | |
---|---|---|
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 | ||
MakeDdlIndexDrop ( IndexSchema eIndex, TableSchema etable ) : string | ||
MakeDdlTableCreate ( TableSchema table, bool withConstraint ) : string | ||
ParseColumn ( TableColumnSchema eColumn ) : string | ||
ParseColumnAlter ( TableColumnSchema mColumn, TableColumnSchema eColumn ) : string | ||
WriteDdlCommands ( |
protected AfterSchemaComparision ( DBSchema existingSchema, DBSchema targetSchema ) : void | ||
existingSchema | DBSchema | |
targetSchema | DBSchema | |
Результат | void |
protected CheckIndexTypeForRecreate ( IndexSchema eIndex ) : bool | ||
eIndex | IndexSchema | |
Результат | bool |
protected CheckKeyTypeForRecreate ( KeySchema eKey ) : bool | ||
eKey | KeySchema | |
Результат | bool |
public CreateConnection ( string connStr ) : IDbConnection | ||
connStr | string | |
Результат | IDbConnection |
public CreateDatabase ( string constr ) : void | ||
constr | string | |
Результат | void |
protected DbscCopyPrepare ( DBSchema schema ) : DBSchema | ||
schema | DBSchema | |
Результат | DBSchema |
protected ExecuteDdlCommands ( IEnumerable |
||
commands | IEnumerable |
|
connStr | string | |
Результат | void |
public LoadExistingSchema ( string connStr ) : DBSchema | ||
connStr | string | |
Результат | DBSchema |
protected MakeDdlIndexCreate ( IndexSchema index, TableSchema table ) : string | ||
index | IndexSchema | |
table | TableSchema | |
Результат | string |
protected MakeDdlIndexDrop ( IndexSchema eIndex, TableSchema etable ) : string | ||
eIndex | IndexSchema | |
etable | TableSchema | |
Результат | string |
protected MakeDdlTableCreate ( TableSchema table, bool withConstraint ) : string | ||
table | TableSchema | |
withConstraint | bool | |
Результат | string |
protected ParseColumn ( TableColumnSchema eColumn ) : string | ||
eColumn | TableColumnSchema | |
Результат | string |
protected ParseColumnAlter ( TableColumnSchema mColumn, TableColumnSchema eColumn ) : string | ||
mColumn | TableColumnSchema | |
eColumn | TableColumnSchema | |
Результат | string |
public SqliteSchemaDriver ( IServiceProvider serviceProvider ) : System | ||
serviceProvider | IServiceProvider | |
Результат | System |
protected WriteDdlCommands ( |
||
wr | ||
commands | IEnumerable |
|
Результат | void |