Class SQMySqlConnectionFactory

This class creates a connection to a MySql database.

System.Object
  Stonefield.Query.ConnectionManagement.ConnectionFactory
    Stonefield.Query.ConnectionManagement.SQMySqlConnectionFactory
public class SQMySqlConnectionFactory : ConnectionFactory, IMySqlConnectionFactory

Class Members

MemberDescription

Constructor

Constructor.

CreateConnection

Uses the connection information stored in this factory to create an appropriate connection object.

public virtual IConnection CreateConnection()

Deserialize

Initialize the connection in this factory using an XML reader pointing to serialized XML data.

public virtual void Deserialize(XmlNode node)

Serialize

Writes the connection information stored in this factory to an XML Writer.

public virtual void Serialize(XmlWriter writer)

ConnectionString

The connection string to connect to the database.

Requirements

Namespace: Stonefield.Query.ConnectionManagement
Assembly: connections.dll