Class DbConfig
Provides global database configuration settings used by the data layer.
public static class DbConfig
- Inheritance
-
DbConfig
- Inherited Members
Properties
CodeProviderModuleName
The module name used by code providers.
public static string CodeProviderModuleName { get; set; }
Property Value
CompanyFieldName
The field name of the company field, used in various tables.
Defaults to CompanyId
public static string CompanyFieldName { get; set; }
Property Value
CompanyId
The Id of the current company, if any, else null.
public static object CompanyId { get; set; }
Property Value
CompanyIdSql
ReadOnly. Returns the value of the CompanyId as a string for constructing SQL statements.
public static string CompanyIdSql { get; }
Property Value
CompanyIdValue
ReadOnly. Returns the effective value of the CompanyId.
public static object CompanyIdValue { get; }
Property Value
DefaultConnectionName
The name of the default database connection.
public static string DefaultConnectionName { get; set; }
Property Value
GuidOids
When is set indicates that the Oids are Guid strings.
Defaults to true.
public static bool GuidOids { get; set; }
Property Value
OidDataType
Gets the default data type used for object identifiers.
public static DataFieldType OidDataType { get; }
Property Value
OidSize
Gets the default field size used for object identifiers.
public static int OidSize { get; }
Property Value
SysAppUserTableName
Gets or sets the application users table name.
public static string SysAppUserTableName { get; set; }
Property Value
SysConfigTableName
Gets or sets the system configuration table name.
public static string SysConfigTableName { get; set; }
Property Value
SysDbIniBlobField
Gets or sets the blob value field name of the SYS_INI table.
public static string SysDbIniBlobField { get; set; }
Property Value
SysDbIniEntryField
Gets or sets the key field name of the SYS_INI table.
public static string SysDbIniEntryField { get; set; }
Property Value
SysDbIniTableName
Gets or sets the system database initialization table name.
public static string SysDbIniTableName { get; set; }
Property Value
SysDbIniValueField
Gets or sets the value field name of the SYS_INI table.
public static string SysDbIniValueField { get; set; }
Property Value
SysLogTableName
Gets or sets the system log table name.
public static string SysLogTableName { get; set; }
Property Value
SysNumberSeriesTableName
Gets or sets the system number series table name.
public static string SysNumberSeriesTableName { get; set; }
Property Value
VariablesPrefix
Gets the variables prefix used in SQL statements.
Defaults to :@, e.g. :@Today
public static string VariablesPrefix { get; set; }