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: 11.0.0
Syntax
C#
public static class DataConnectionFactory

The DataConnectionFactory type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberConnectionString
Returns the connection string.
Public propertyStatic memberCurrentConnection
Current DB connection to use within current connection scope.
Public propertyStatic memberGeneratorObject
Returns the SQL generator object.
Public propertyStatic memberProviderObject
Returns the provider object.
Public propertyStatic memberTableManagerObject
Returns the Table manager object.
Top
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 Obsolete.
Sends the specific command with arguments to the provider.
Top
Events
  NameDescription
Public eventStatic memberOnGetConnection
Event raised when the connection is required. Returns the connection.
Top
See Also