Method | Description | |
---|---|---|
CreateConnection ( string connStr ) : IDbConnection | ||
CreateDatabase ( string constr ) : void | ||
LoadExistingSchema ( string connStr ) : DBSchema |
Создать схему метаданных из исходной базы
|
|
SqliteSchemaDriver ( IServiceProvider serviceProvider ) : System |
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 | ||
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 | |
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 constr ) : void | ||
constr | string | |
return | void |
protected DbscCopyPrepare ( DBSchema schema ) : DBSchema | ||
schema | DBSchema | |
return | DBSchema |
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 MakeDdlIndexDrop ( IndexSchema eIndex, TableSchema etable ) : string | ||
eIndex | IndexSchema | |
etable | TableSchema | |
return | string |
protected MakeDdlTableCreate ( TableSchema table, bool withConstraint ) : string | ||
table | TableSchema | |
withConstraint | bool | |
return | string |
protected ParseColumn ( TableColumnSchema eColumn ) : string | ||
eColumn | TableColumnSchema | |
return | string |
protected ParseColumnAlter ( TableColumnSchema mColumn, TableColumnSchema eColumn ) : string | ||
mColumn | TableColumnSchema | |
eColumn | TableColumnSchema | |
return | string |
public SqliteSchemaDriver ( IServiceProvider serviceProvider ) : System | ||
serviceProvider | IServiceProvider | |
return | System |
protected WriteDdlCommands ( |
||
wr | ||
commands | IEnumerable |
|
return | void |