MySqlConnection Members


MySqlConnection overview

Public Instance Constructors

MySqlConnection Overloaded. Initializes a new instance of the MySqlConnection class.

Public Instance Properties

ConnectionString
ConnectionTimeout
Container (inherited from Component) Gets the IContainer that contains the Component.
Database
DataSource Gets the name of the MariaDB server to which to connect.
ServerThread Returns the ID of the server thread this connection is executing on.
ServerVersion
Site (inherited from Component) Gets or sets the ISite of the Component.
State
UseCompression Indicates if this connection should use compression when communicating with the server.

Public Instance Methods

BeginTransaction Overloaded.
ChangeDatabase
Close
CreateCommand
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component) Releases all resources used by the Component.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Open
Ping Ping
ToString (inherited from Component) Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Instance Events

Disposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
InfoMessage
StateChange

See Also

MySqlConnection Class, MySql.Data.MySqlClient Namespace

Retornar