Click or drag to resize
DataConnectionFactory Class
Provides DataConnection object for specified data provider according to configuration settings.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineDataConnectionFactory

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static class DataConnectionFactory

The DataConnectionFactory type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetConnection
Returns a new database connection.
Public methodStatic memberGetConnection(String)
Returns a new database connection.
Public methodStatic memberGetNativeConnection
Returns a new database connection.
Public methodStatic memberNewTableManagerObject
Creates a new table manager object with the given connection string
Public methodStatic memberProcessCommand
Sends the specific command with arguments to the provider.
Top
Properties
  NameDescription
Public propertyStatic memberConnectionString
Returns the connection string.
Public propertyStatic memberCurrentConnection
Current DB connection to use within current connection scope.
Public propertyStatic memberDefaultDataProvider
If true, default data provider is used.
Public propertyStatic memberGeneratorObject
Returns the SQL generator object.
Public propertyStatic memberProviderObject
Returns the provider object.
Public propertyStatic memberTableManagerObject
Returns the Table manager object.
Top
Events
  NameDescription
Public eventStatic memberOnGetConnection
Event raised when the connection is required. Returns the connection.
Top
See Also