Interface IDatabaseCreator
Represents a service responsible for creating and managing the database schema within the persistence layer.
Namespace: Umbraco.Cms.Infrastructure.Persistence
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IDatabaseCreator
Properties
View SourceProviderName
Gets the name of the database provider.
Declaration
string ProviderName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceCreate(string)
Creates a new database instance using the provided connection string.
Declaration
void Create(string connectionString)
Parameters
| Type | Name | Description |
|---|---|---|
| string | connectionString | The connection string to use for creating the database. |