Nucleus .Net Core CMS

Models.Configuration.DatabaseOptions Class

Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Represents database configuration options.

Properties

Connections Property

List of configured database connections.

Schemas Property

List of configured schemas.

Fields

Section Field

Configuration file section path for database connections.

Methods

GetDatabaseConnection (String) Method

GetDatabaseConnection (String schemaName)
Get the database connection options for the schema specifed by schemaName. If no matching connection is found, return the database connection options for the "*" (default) schema.
Parameters
Name Type
schemaName String