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 Oracle which thinks it has to 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 Oracle which thinks it has to reparse everything if a comment changes

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

DynamicLoadedConnectionType

Returns the type of connection to open.

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

DynamicLoadedDataBaseDriver

Returns the name of the ADO.NET driver to load.

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

ForceCacheRefreshInterval

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

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

ImpersonateDatabaseUser

Should the DbUser be logged in with windows and impersonated when connecting to the database in order to support database integrated authentication.

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

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