C# Class Rsdn.Janus.Firebird.FBSchemaDriver

Inheritance: DBSchemaDriverBase
Afficher le fichier Open project: rsdn/janus

Méthodes publiques

Méthode Description
CreateConnection ( string connStr ) : IDbConnection
CreateDatabase ( string constr ) : void
EndTableLoad ( IDbConnection connection, TableSchema table ) : void

Méthodes protégées

Méthode Description
AfterSchemaComparision ( DBSchema existingSchema, DBSchema targetSchema ) : void
CheckIndexTypeForRecreate ( IndexSchema eIndex ) : bool
CheckKeyTypeForRecreate ( KeySchema eKey ) : bool
DbscCopyPrepare ( DBSchema schema ) : DBSchema
ExecuteDdlCommands ( IEnumerable commands, string connStr ) : void
MakeDdlColumnDrop ( TableColumnSchema column, TableSchema table ) : string
MakeDdlElementName ( string name ) : string
MakeDdlIndexCreate ( IndexSchema index, TableSchema table ) : string
MakeDdlIndexDrop ( IndexSchema index, TableSchema table ) : string
ParseColumn ( TableColumnSchema column ) : string
WriteDdlCommands ( TextWriter wr, IEnumerable commands ) : void

Private Methods

Méthode Description
MakeDdlGeneratorCreate ( SchemaNamedElement gen ) : string
MakeDdlGeneratorDrop ( SchemaNamedElement gen ) : string
MakeDdlGeneratorSet ( DBGenerator gen ) : string

Method Details

AfterSchemaComparision() protected méthode

protected AfterSchemaComparision ( DBSchema existingSchema, DBSchema targetSchema ) : void
existingSchema DBSchema
targetSchema DBSchema
Résultat void

CheckIndexTypeForRecreate() protected méthode

protected CheckIndexTypeForRecreate ( IndexSchema eIndex ) : bool
eIndex IndexSchema
Résultat bool

CheckKeyTypeForRecreate() protected méthode

protected CheckKeyTypeForRecreate ( KeySchema eKey ) : bool
eKey KeySchema
Résultat bool

CreateConnection() public méthode

public CreateConnection ( string connStr ) : IDbConnection
connStr string
Résultat IDbConnection

CreateDatabase() public méthode

public CreateDatabase ( string constr ) : void
constr string
Résultat void

DbscCopyPrepare() protected méthode

protected DbscCopyPrepare ( DBSchema schema ) : DBSchema
schema DBSchema
Résultat DBSchema

EndTableLoad() public méthode

public EndTableLoad ( IDbConnection connection, TableSchema table ) : void
connection IDbConnection
table TableSchema
Résultat void

ExecuteDdlCommands() protected méthode

protected ExecuteDdlCommands ( IEnumerable commands, string connStr ) : void
commands IEnumerable
connStr string
Résultat void

MakeDdlColumnDrop() protected méthode

protected MakeDdlColumnDrop ( TableColumnSchema column, TableSchema table ) : string
column TableColumnSchema
table TableSchema
Résultat string

MakeDdlElementName() protected méthode

protected MakeDdlElementName ( string name ) : string
name string
Résultat string

MakeDdlIndexCreate() protected méthode

protected MakeDdlIndexCreate ( IndexSchema index, TableSchema table ) : string
index IndexSchema
table TableSchema
Résultat string

MakeDdlIndexDrop() protected méthode

protected MakeDdlIndexDrop ( IndexSchema index, TableSchema table ) : string
index IndexSchema
table TableSchema
Résultat string

ParseColumn() protected méthode

protected ParseColumn ( TableColumnSchema column ) : string
column TableColumnSchema
Résultat string

WriteDdlCommands() protected méthode

protected WriteDdlCommands ( TextWriter wr, IEnumerable commands ) : void
wr System.IO.TextWriter
commands IEnumerable
Résultat void