Class SQOleDbConnectionFactory

This class creates an OleDb connection to a database. The provider to be used must be specified in the connection string.

System.Object
  Stonefield.Query.ConnectionManagement.ConnectionFactory
    Stonefield.Query.ConnectionManagement.SQOleDbConnectionFactory
public class SQOleDbConnectionFactory : ConnectionFactory, IOleDbConnectionFactory

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(XmlReader reader);

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);

CommandTimeout

Specifies the command timeout setting for the OleDb connection object. Set this to a higher value to avoid timeout issues with queries on large tables.

ConnectionString

The connection string to connect to the database using an OleDb connection object

ConnectionTimeout

Specifies the connection timeout setting for the OleDb connection object

Requirements

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