Show / Hide Table of Contents

Interface ConfigFile.IDataDatabaseConfiguration

Utility class used to access the SuperOffice.Data.Database entry in the config-file. Created in Database scope

Namespace: SuperOffice.Configuration
Assembly: SoCore.dll
Syntax
public interface ConfigFile.IDataDatabaseConfiguration

Properties

CacheCheckInterval

Number of seconds to check if cache are outdated and refersh. 0 will disable the timer.

Declaration
int CacheCheckInterval { get; set; }
Property Value
Type Description
int

CommandTimeout

Timeout in seconds for the command to wait for a response from the database.

Declaration
int CommandTimeout { get; set; }
Property Value
Type Description
int

ConnectionString

The connection string formatted as a "template".

Declaration
string ConnectionString { get; set; }
Property Value
Type Description
string

DatabaseMajor

Major name of database provider

Declaration
string DatabaseMajor { get; set; }
Property Value
Type Description
string

DatabaseMinor

Version number of Database

Declaration
string DatabaseMinor { get; set; }
Property Value
Type Description
string

DatabaseName

Name of the database. Also used for distinct service name.

Declaration
string DatabaseName { get; set; }
Property Value
Type Description
string

DefaultReadUncommitted

Should SELECTs by default run in "ReadUncommitted" isolation level, lessening locking contention (especially on SQL Server)? Default setting is TRUE.

Declaration
bool DefaultReadUncommitted { get; set; }
Property Value
Type Description
bool

DisableSqlTrackingComments

If true, then comments that usually precede generated SQL to identify the operation and user will not be generated at all; may help performance on databases that reparse everything if a comment changes

Declaration
bool DisableSqlTrackingComments { get; set; }
Property Value
Type Description
bool

DisableUserInSqlTrackingComments

If true, then comments that usually precede generated SQL to identify the operation will not contain associate information; may help performance on databases that reparse everything if a comment changes

Declaration
bool DisableUserInSqlTrackingComments { get; set; }
Property Value
Type Description
bool

ForceCacheRefreshInterval

Number of seconds before caches are force refreshed. 0 will disable the timer.

Declaration
int ForceCacheRefreshInterval { get; set; }
Property Value
Type Description
int

Server

The server where the database is located

Declaration
string Server { get; set; }
Property Value
Type Description
string

TablePrefix

The prefix of the SuperOffice CRM tables in the database.

Declaration
string TablePrefix { get; set; }
Property Value
Type Description
string

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top