namespace Oqtane.Models
{
///
/// Information about a Database used in the current Oqtane installation
///
public class Database
{
///
/// Name of the Database
///
public string Name { get; set; }
///
/// Namespace & name of the UI control to configure this database, like `Oqtane.Installer.Controls.SqlServerConfig, Oqtane.Client`
///
public string ControlType { get; set; }
///
/// Type of DB using the full namespace, like `Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer`
///
public string DBType { get; set; }
///
/// whether this item is the default database provider ( ie. specified by DefaultDBType in appsettings.json )
///
public bool IsDefault { get; set; }
}
}