Nucleus .Net Core CMS

Models.Configuration.DatabaseConnectionOption Class

Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Specifies configuration file options for a data provider.


Key Property

Unique identifier for the data provider.
This value is matched with the ConnectionKey to create an instance of the correct data provider for a schema.

Type Property

Database type.
This value must match a value specified by the database provider. The core database provider types Sqlite, SqlServer, MySql and PostgreSQL.

ConnectionString Property

The connection string provides parameters needed to establish a connection to the database. The format and contents of a connection string are specific to each database provider type.