November Happy Hour will be moved to Thursday December 5th.

Class DataAccessBaseExtensions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Helper base class for data access. It is recommended to use IDatabaseExecutor directly instead.

Inheritance
System.Object
DataAccessBaseExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAccess
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public static class DataAccessBaseExtensions

Methods

Database(DataAccessBase)

Set database handler used for this instance This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
[Obsolete("Use Executor instead")]
public static IDatabaseHandler Database(this DataAccessBase dataAccess)
Parameters
Type Name Description
DataAccessBase dataAccess
Returns
Type Description
IDatabaseHandler