C# Class MySql.Data.MySqlClient.MySqlProviderServices

Inheritance: System.Data.Common.DbProviderServices
Exibir arquivo Open project: Top-Cat/SteamBot Class Usage Examples

Protected Methods

Method Description
CreateDbCommandDefinition ( System.Data.Common.DbProviderManifest providerManifest, System.Data.Common.CommandTrees.DbCommandTree commandTree ) : System.Data.Common.DbCommandDefinition
DbCreateDatabase ( DbConnection connection, int commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : void
DbCreateDatabaseScript ( string providerManifestToken, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : string
DbDatabaseExists ( DbConnection connection, int commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : bool
DbDeleteDatabase ( DbConnection connection, int commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : void
GetDbProviderManifest ( string manifestToken ) : System.Data.Common.DbProviderManifest
GetDbProviderManifestToken ( DbConnection connection ) : string

Private Methods

Method Description
GetAssociationCreateScript ( System.Data.Metadata.Edm.AssociationType a ) : string
GetColumnType ( TypeUsage type ) : string
GetFacetString ( System.Data.Metadata.Edm.EdmProperty column ) : string
GetTableCreateScript ( System.Data.Metadata.Edm.EntitySet entitySet ) : string
IsStringType ( TypeUsage type ) : bool
MySqlProviderServices ( ) : System
SetExpectedTypes ( System.Data.Common.CommandTrees.DbCommandTree commandTree, EFMySqlCommand cmd ) : void

Sets the expected column types

SetFunctionExpectedTypes ( System.Data.Common.CommandTrees.DbFunctionCommandTree tree, EFMySqlCommand cmd ) : void

Sets the expected column types for a given function command tree

SetQueryExpectedTypes ( System.Data.Common.CommandTrees.DbQueryCommandTree tree, EFMySqlCommand cmd ) : void

Sets the expected column types for a given query command tree

Method Details

CreateDbCommandDefinition() protected method

protected CreateDbCommandDefinition ( System.Data.Common.DbProviderManifest providerManifest, System.Data.Common.CommandTrees.DbCommandTree commandTree ) : System.Data.Common.DbCommandDefinition
providerManifest System.Data.Common.DbProviderManifest
commandTree System.Data.Common.CommandTrees.DbCommandTree
return System.Data.Common.DbCommandDefinition

DbCreateDatabase() protected method

protected DbCreateDatabase ( DbConnection connection, int commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : void
connection DbConnection
commandTimeout int
storeItemCollection System.Data.Metadata.Edm.StoreItemCollection
return void

DbCreateDatabaseScript() protected method

protected DbCreateDatabaseScript ( string providerManifestToken, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : string
providerManifestToken string
storeItemCollection System.Data.Metadata.Edm.StoreItemCollection
return string

DbDatabaseExists() protected method

protected DbDatabaseExists ( DbConnection connection, int commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : bool
connection DbConnection
commandTimeout int
storeItemCollection System.Data.Metadata.Edm.StoreItemCollection
return bool

DbDeleteDatabase() protected method

protected DbDeleteDatabase ( DbConnection connection, int commandTimeout, System.Data.Metadata.Edm.StoreItemCollection storeItemCollection ) : void
connection DbConnection
commandTimeout int
storeItemCollection System.Data.Metadata.Edm.StoreItemCollection
return void

GetDbProviderManifest() protected method

protected GetDbProviderManifest ( string manifestToken ) : System.Data.Common.DbProviderManifest
manifestToken string
return System.Data.Common.DbProviderManifest

GetDbProviderManifestToken() protected method

protected GetDbProviderManifestToken ( DbConnection connection ) : string
connection DbConnection
return string