Table of Contents

Class AbstractDataProvider

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Data provider class.

public abstract class AbstractDataProvider : IDataProvider
Inheritance
object
AbstractDataProvider
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

IDataConnection

CurrentScopeConnection

Current DB connection to use within current connection scope.

public static AbstractDataConnection CurrentScopeConnection { get; }

Property Value

AbstractDataConnection

Methods

GetNewConnection(string)

Returns new data connection.

public virtual IDataConnection GetNewConnection(string connectionString)

Parameters

connectionString string

Connection string

Returns

IDataConnection