Class AbstractDataProvider
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Data provider class.
public abstract class AbstractDataProvider : IDataProvider
- Inheritance
-
objectAbstractDataProvider
- Implements
- Derived
- Extension Methods
Properties
ConnectionString
Connection string to use for the connections.
public virtual string ConnectionString { get; set; }
Property Value
- string
CurrentConnection
Current DB connection to use within current connection scope.
public virtual IDataConnection CurrentConnection { get; set; }
Property Value
CurrentScopeConnection
Current DB connection to use within current connection scope.
public static AbstractDataConnection CurrentScopeConnection { get; }
Property Value
Methods
GetNewConnection(string)
Returns new data connection.
public virtual IDataConnection GetNewConnection(string connectionString)
Parameters
connectionString
stringConnection string