C# 클래스 Rsdn.Janus.Sqlite.SqliteSchemaDriver

상속: DBSchemaDriverBase
파일 보기 프로젝트 열기: rsdn/janus

공개 메소드들

메소드 설명
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 commands, string connStr ) : void
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 ( TextWriter wr, IEnumerable commands ) : void

메소드 상세

AfterSchemaComparision() 보호된 메소드

protected AfterSchemaComparision ( DBSchema existingSchema, DBSchema targetSchema ) : void
existingSchema DBSchema
targetSchema DBSchema
리턴 void

CheckIndexTypeForRecreate() 보호된 메소드

protected CheckIndexTypeForRecreate ( IndexSchema eIndex ) : bool
eIndex IndexSchema
리턴 bool

CheckKeyTypeForRecreate() 보호된 메소드

protected CheckKeyTypeForRecreate ( KeySchema eKey ) : bool
eKey KeySchema
리턴 bool

CreateConnection() 공개 메소드

public CreateConnection ( string connStr ) : IDbConnection
connStr string
리턴 IDbConnection

CreateDatabase() 공개 메소드

public CreateDatabase ( string constr ) : void
constr string
리턴 void

DbscCopyPrepare() 보호된 메소드

protected DbscCopyPrepare ( DBSchema schema ) : DBSchema
schema DBSchema
리턴 DBSchema

ExecuteDdlCommands() 보호된 메소드

protected ExecuteDdlCommands ( IEnumerable commands, string connStr ) : void
commands IEnumerable
connStr string
리턴 void

LoadExistingSchema() 공개 메소드

Создать схему метаданных из исходной базы
public LoadExistingSchema ( string connStr ) : DBSchema
connStr string
리턴 DBSchema

MakeDdlIndexCreate() 보호된 메소드

protected MakeDdlIndexCreate ( IndexSchema index, TableSchema table ) : string
index IndexSchema
table TableSchema
리턴 string

MakeDdlIndexDrop() 보호된 메소드

protected MakeDdlIndexDrop ( IndexSchema eIndex, TableSchema etable ) : string
eIndex IndexSchema
etable TableSchema
리턴 string

MakeDdlTableCreate() 보호된 메소드

protected MakeDdlTableCreate ( TableSchema table, bool withConstraint ) : string
table TableSchema
withConstraint bool
리턴 string

ParseColumn() 보호된 메소드

protected ParseColumn ( TableColumnSchema eColumn ) : string
eColumn TableColumnSchema
리턴 string

ParseColumnAlter() 보호된 메소드

protected ParseColumnAlter ( TableColumnSchema mColumn, TableColumnSchema eColumn ) : string
mColumn TableColumnSchema
eColumn TableColumnSchema
리턴 string

SqliteSchemaDriver() 공개 메소드

public SqliteSchemaDriver ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
리턴 System

WriteDdlCommands() 보호된 메소드

protected WriteDdlCommands ( TextWriter wr, IEnumerable commands ) : void
wr System.IO.TextWriter
commands IEnumerable
리턴 void