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: 9.12.2Syntax
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 connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.ConnectionStringSettings | connectionString |
Returns
Type | Description |
---|---|
IDatabaseHandler |