Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class SqlDatabaseExecutorFactory

Inheritance
System.Object
SqlDatabaseExecutorFactory
Namespace: EPiServer.Data.Providers.Internal
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public class SqlDatabaseExecutorFactory : Object, IDatabaseExecutorFactory, IAsyncDatabaseExecutorFactory, IDisposable

Constructors

SqlDatabaseExecutorFactory()

Declaration
public SqlDatabaseExecutorFactory()

SqlDatabaseExecutorFactory(ContextCache, IRequestCache, IDatabaseMode, IDatabaseConnectionResolver, DataAccessOptions)

Declaration
public SqlDatabaseExecutorFactory(ContextCache contextCache, IRequestCache requestCache, IDatabaseMode databaseModeService, IDatabaseConnectionResolver databaseConnectionResolver, DataAccessOptions dataAccessOptions)
Parameters
Type Name Description
ContextCache contextCache
IRequestCache requestCache
IDatabaseMode databaseModeService
IDatabaseConnectionResolver databaseConnectionResolver
DataAccessOptions dataAccessOptions

Properties

CurrentHandler

Declaration
public IDatabaseExecutor CurrentHandler { get; }
Property Value
Type Description
IDatabaseExecutor

Methods

CreateDefaultHandler()

Declaration
public IDatabaseExecutor CreateDefaultHandler()
Returns
Type Description
IDatabaseExecutor

CreateHandler(ConnectionStringOptions)

Declaration
public IDatabaseExecutor CreateHandler(ConnectionStringOptions connectionStringOption)
Parameters
Type Name Description
ConnectionStringOptions connectionStringOption
Returns
Type Description
IDatabaseExecutor

Dispose()

Declaration
public void Dispose()

Explicit Interface Implementations

IAsyncDatabaseExecutorFactory.CreateDefaultHandler()

Declaration
IAsyncDatabaseExecutor IAsyncDatabaseExecutorFactory.CreateDefaultHandler()
Returns
Type Description
IAsyncDatabaseExecutor

Implements

System.IDisposable

Extension Methods