Class DatabaseSettingsModel
Represents the configuration settings for a database provider during installation.
Inheritance
Namespace: Umbraco.Cms.Core.Models.Installer
Assembly: Umbraco.Core.dll
Syntax
public class DatabaseSettingsModel
Constructors
View SourceDatabaseSettingsModel()
Declaration
public DatabaseSettingsModel()
Properties
View SourceDefaultDatabaseName
Gets or sets the default database name to use.
Declaration
public string DefaultDatabaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Gets or sets the display name of the database provider.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or sets the unique identifier for this database configuration.
Declaration
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
IsConfigured
Gets or sets a value indicating whether the database is already configured.
Declaration
public bool IsConfigured { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ProviderName
Gets or sets the name of the database provider.
Declaration
public string ProviderName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequiresConnectionTest
Gets or sets a value indicating whether the database requires a connection test before proceeding.
Declaration
public bool RequiresConnectionTest { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RequiresCredentials
Gets or sets a value indicating whether the database requires credentials.
Declaration
public bool RequiresCredentials { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
RequiresServer
Gets or sets a value indicating whether the database requires a server address.
Declaration
public bool RequiresServer { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ServerPlaceholder
Gets or sets the placeholder text for the server input field.
Declaration
public string ServerPlaceholder { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SortOrder
Gets or sets the sort order for displaying this database option.
Declaration
public int SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
SupportsIntegratedAuthentication
Gets or sets a value indicating whether the database supports integrated authentication.
Declaration
public bool SupportsIntegratedAuthentication { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SupportsTrustServerCertificate
Gets or sets a value indicating whether the database supports the trust server certificate option.
Declaration
public bool SupportsTrustServerCertificate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |