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

Interface IDatabaseExecutorFactory

Factory implementation for IDatabaseExecutor

Namespace: EPiServer.Data.Providers
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public interface IDatabaseExecutorFactory

Properties

CurrentHandler

Get the current IDatabaseExecutor with the connection string for the current site.

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

Methods

CreateDefaultHandler()

Create a new IDatabaseExecutor with the connection string for the current site.

Declaration
IDatabaseExecutor CreateDefaultHandler()
Returns
Type Description
IDatabaseExecutor

CreateHandler(ConnectionStringOptions)

Creates a new IDatabaseExecutor with the specified connection string.

Declaration
IDatabaseExecutor CreateHandler(ConnectionStringOptions connectionString)
Parameters
Type Name Description
ConnectionStringOptions connectionString
Returns
Type Description
IDatabaseExecutor

Extension Methods