Table of Contents

Class Database

Namespace
Oqtane.Models
Assembly
Oqtane.Shared.dll

Information about a Database used in the current Oqtane installation

public class Database
Inheritance
object
Database

Properties

ControlType

Namespace & name of the UI control to configure this database, like Oqtane.Installer.Controls.SqlServerConfig, Oqtane.Client

public string ControlType { get; set; }

Property Value

string

DBType

Type of DB using the full namespace, like Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer

public string DBType { get; set; }

Property Value

string

IsDefault

whether this item is the default database provider ( ie. specified by DefaultDBType in appsettings.json )

public bool IsDefault { get; set; }

Property Value

bool

Name

Name of the Database

public string Name { get; set; }

Property Value

string