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 IDatabaseFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Factory implementation for IDatabaseHandler

Namespace: EPiServer.Data.Providers
Assembly: EPiServer.Data.dll
Version: 10.10.4
Syntax
[Obsolete("Use IDatabaseExecutorFactory instead")]
public interface IDatabaseFactory

Properties

CurrentHandler

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get the current IDatabaseHandler with the connection string for the current site.

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

Methods

CreateDefaultHandler()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Create a new IDatabaseHandler with the connection string for the current site.

Declaration
IDatabaseHandler CreateDefaultHandler()
Returns
Type Description
IDatabaseHandler

CreateHandler(ConnectionStringSettings)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a new IDatabaseHandler with the specified connection string.

Declaration
IDatabaseHandler CreateHandler(ConnectionStringSettings connectionStringSettings)
Parameters
Type Name Description
System.Configuration.ConnectionStringSettings connectionStringSettings
Returns
Type Description
IDatabaseHandler

Extension Methods