C# Class MySql.Data.MySqlClient.Driver

Summary description for BaseDriver.
Inheritance: IDisposable
Afficher le fichier Open project: elevate/mysqlconnector-.net Class Usage Examples

Protected Properties

Свойство Type Description
charSets System.Collections.Hashtable
connectionString MySqlConnectionStringBuilder
creationTime System.DateTime
currentTransaction MySql.Data.MySqlClient.MySqlPromotableTransaction
encoding System.Text.Encoding
handler IDriver
inActiveUse bool
isOpen bool
maxPacketSize long
pool MySqlPool
serverCaps ClientFlags
serverCharSet string
serverCharSetIndex int
serverProps System.Collections.Hashtable

Private Properties

Свойство Type Description
LoadCharacterSets void

Méthodes publiques

Méthode Description
Close ( ) : void
CloseQuery ( MySqlConnection connection, int statementId ) : void
CloseStatement ( int id ) : void
Configure ( MySqlConnection connection ) : void
ConnectionLifetimeExpired ( ) : bool
Create ( MySqlConnectionStringBuilder settings ) : Driver
Dispose ( ) : void
Driver ( MySqlConnectionStringBuilder settings ) : System
ExecuteDirect ( string sql ) : void
ExecuteStatement ( MySqlPacket packetToExecute ) : void
FetchDataRow ( int statementId, int columns ) : bool
GetColumns ( int count ) : MySql.Data.MySqlClient.MySqlField[]
HasStatus ( ServerStatusFlags flag ) : bool
NextResult ( int statementId ) : ResultSet
Open ( ) : void
Ping ( ) : bool
PrepareStatement ( string sql, MySqlField &parameters ) : int
Property ( string key ) : string
ReadColumnValue ( int index, MySqlField field, IMySqlValue value ) : IMySqlValue
ReportWarnings ( MySqlConnection connection ) : List
Reset ( ) : void
ResetTimeout ( int timeoutMilliseconds ) : void
SendQuery ( MySqlPacket p ) : void
SetDatabase ( string dbName ) : void
SkipColumnValue ( IMySqlValue valObject ) : void
SkipDataRow ( ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
GetResult ( int statementId, int &affectedRows, int &insertedId ) : int

Private Methods

Méthode Description
LoadCharacterSets ( MySqlConnection connection ) : void

Loads all the current character set names and ids for this server into the charSets hashtable

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

CloseQuery() public méthode

public CloseQuery ( MySqlConnection connection, int statementId ) : void
connection MySqlConnection
statementId int
Résultat void

CloseStatement() public méthode

public CloseStatement ( int id ) : void
id int
Résultat void

Configure() public méthode

public Configure ( MySqlConnection connection ) : void
connection MySqlConnection
Résultat void

ConnectionLifetimeExpired() public méthode

public ConnectionLifetimeExpired ( ) : bool
Résultat bool

Create() public static méthode

public static Create ( MySqlConnectionStringBuilder settings ) : Driver
settings MySqlConnectionStringBuilder
Résultat Driver

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Driver() public méthode

public Driver ( MySqlConnectionStringBuilder settings ) : System
settings MySqlConnectionStringBuilder
Résultat System

ExecuteDirect() public méthode

public ExecuteDirect ( string sql ) : void
sql string
Résultat void

ExecuteStatement() public méthode

public ExecuteStatement ( MySqlPacket packetToExecute ) : void
packetToExecute MySqlPacket
Résultat void

FetchDataRow() public méthode

public FetchDataRow ( int statementId, int columns ) : bool
statementId int
columns int
Résultat bool

GetColumns() public méthode

public GetColumns ( int count ) : MySql.Data.MySqlClient.MySqlField[]
count int
Résultat MySql.Data.MySqlClient.MySqlField[]

GetResult() protected méthode

protected GetResult ( int statementId, int &affectedRows, int &insertedId ) : int
statementId int
affectedRows int
insertedId int
Résultat int

HasStatus() public méthode

public HasStatus ( ServerStatusFlags flag ) : bool
flag ServerStatusFlags
Résultat bool

NextResult() public méthode

public NextResult ( int statementId ) : ResultSet
statementId int
Résultat ResultSet

Open() public méthode

public Open ( ) : void
Résultat void

Ping() public méthode

public Ping ( ) : bool
Résultat bool

PrepareStatement() public méthode

public PrepareStatement ( string sql, MySqlField &parameters ) : int
sql string
parameters MySqlField
Résultat int

Property() public méthode

public Property ( string key ) : string
key string
Résultat string

ReadColumnValue() public méthode

public ReadColumnValue ( int index, MySqlField field, IMySqlValue value ) : IMySqlValue
index int
field MySqlField
value IMySqlValue
Résultat IMySqlValue

ReportWarnings() public méthode

public ReportWarnings ( MySqlConnection connection ) : List
connection MySqlConnection
Résultat List

Reset() public méthode

public Reset ( ) : void
Résultat void

ResetTimeout() public méthode

public ResetTimeout ( int timeoutMilliseconds ) : void
timeoutMilliseconds int
Résultat void

SendQuery() public méthode

public SendQuery ( MySqlPacket p ) : void
p MySqlPacket
Résultat void

SetDatabase() public méthode

public SetDatabase ( string dbName ) : void
dbName string
Résultat void

SkipColumnValue() public méthode

public SkipColumnValue ( IMySqlValue valObject ) : void
valObject IMySqlValue
Résultat void

SkipDataRow() public méthode

public SkipDataRow ( ) : bool
Résultat bool

Property Details

charSets protected_oe property

protected Hashtable,System.Collections charSets
Résultat System.Collections.Hashtable

connectionString protected_oe property

protected MySqlConnectionStringBuilder,MySql.Data.MySqlClient connectionString
Résultat MySqlConnectionStringBuilder

creationTime protected_oe property

protected DateTime,System creationTime
Résultat System.DateTime

currentTransaction protected_oe property

protected MySqlPromotableTransaction,MySql.Data.MySqlClient currentTransaction
Résultat MySql.Data.MySqlClient.MySqlPromotableTransaction

encoding protected_oe property

protected Encoding,System.Text encoding
Résultat System.Text.Encoding

handler protected_oe property

protected IDriver handler
Résultat IDriver

inActiveUse protected_oe property

protected bool inActiveUse
Résultat bool

isOpen protected_oe property

protected bool isOpen
Résultat bool

maxPacketSize protected_oe property

protected long maxPacketSize
Résultat long

pool protected_oe property

protected MySqlPool,MySql.Data.MySqlClient pool
Résultat MySqlPool

serverCaps protected_oe property

protected ClientFlags serverCaps
Résultat ClientFlags

serverCharSet protected_oe property

protected string serverCharSet
Résultat string

serverCharSetIndex protected_oe property

protected int serverCharSetIndex
Résultat int

serverProps protected_oe property

protected Hashtable,System.Collections serverProps
Résultat System.Collections.Hashtable