Table of Contents

Class DbConfig

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

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

string

CompanyFieldName

The field name of the company field, used in various tables.

Defaults to CompanyId

public static string CompanyFieldName { get; set; }

Property Value

string

CompanyId

The Id of the current company, if any, else null.

public static object CompanyId { get; set; }

Property Value

object

CompanyIdSql

ReadOnly. Returns the value of the CompanyId as a string for constructing SQL statements.

public static string CompanyIdSql { get; }

Property Value

string

CompanyIdValue

ReadOnly. Returns the effective value of the CompanyId.

public static object CompanyIdValue { get; }

Property Value

object

DefaultConnectionName

The name of the default database connection.

public static string DefaultConnectionName { get; set; }

Property Value

string

GuidOids

When is set indicates that the Oids are Guid strings.

Defaults to true.

public static bool GuidOids { get; set; }

Property Value

bool

OidDataType

Gets the default data type used for object identifiers.

public static DataFieldType OidDataType { get; }

Property Value

DataFieldType

OidSize

Gets the default field size used for object identifiers.

public static int OidSize { get; }

Property Value

int

SysAppUserTableName

Gets or sets the application users table name.

public static string SysAppUserTableName { get; set; }

Property Value

string

SysConfigTableName

Gets or sets the system configuration table name.

public static string SysConfigTableName { get; set; }

Property Value

string

SysDbIniBlobField

Gets or sets the blob value field name of the SYS_INI table.

public static string SysDbIniBlobField { get; set; }

Property Value

string

SysDbIniEntryField

Gets or sets the key field name of the SYS_INI table.

public static string SysDbIniEntryField { get; set; }

Property Value

string

SysDbIniTableName

Gets or sets the system database initialization table name.

public static string SysDbIniTableName { get; set; }

Property Value

string

SysDbIniValueField

Gets or sets the value field name of the SYS_INI table.

public static string SysDbIniValueField { get; set; }

Property Value

string

SysLogTableName

Gets or sets the system log table name.

public static string SysLogTableName { get; set; }

Property Value

string

SysNumberSeriesTableName

Gets or sets the system number series table name.

public static string SysNumberSeriesTableName { get; set; }

Property Value

string

VariablesPrefix

Gets the variables prefix used in SQL statements.

Defaults to :@, e.g. :@Today

public static string VariablesPrefix { get; set; }

Property Value

string