[]
        
(Showing Draft Content)

C1.DataConnector.C1ConnectionStringBuilder

C1ConnectionStringBuilder Class

The base class for all DataConnector providers containing the common information to set up a connection.

Namespace: C1.DataConnector
Assembly: C1.DataConnector.dll
Syntax
public abstract class C1ConnectionStringBuilder : DbConnectionStringBuilder, IDictionary, ICollection, IEnumerable, ICustomTypeDescriptor

Constructors

Name Description
C1ConnectionStringBuilder()

The default constructor of C1ConnectionStringBuilder.

Properties

Name Description
CacheConnection

The connection string to the cache provider.

CacheLocation

The path to the local database file used as cache. Default location is %AppData%/C1DataConnector.

CacheProvider

The name of the the cache provider.

CacheTolerance

The cache expiration interval of time given in seconds. Default value is 600 seconds.

ConnectionString

The connection string equivalence of this C1ConnectionStringBuilder.

IncrementalUpdate

Specifies whether incremental caching is considered or not. Default is false/not.

IncrementalUpdateColumn

Specifies the name of the column used for storing the time of the last change of each row.

this[string]

Gets or sets the value associated with the specified key.

Keys
LogFile

The name of the log provider.

LogFileCount

Number of max log files. true or false value only.

LogFileSize

The limit size of log file.

Logger

The logger where the runtime messages are passed to.

MaxPageSize

The maximum items returned per request to server.

MaxPoolSize

Specifies the maximum number of connections in the pool.

Offline

Specifies whether or not accessing an invalid cached table should throw an exception or if the table will be refreshed. Default is false/not.

ProxyAuthScheme
ProxyPassword
ProxyPort
ProxyServer
ProxyUsername
UseCache

Specifies whether caching is considered or not. Default is false/not.

UsePool

TSpecifies whether or not pooling is requested for a given connection. Default is true/yes.

VerbosityLevel

Verbosity level of log. number 1-5 only.

Methods

Name Description
Equals(object)

The Equals method.

GetHashCode()

Get the hashcode of this C1ConnectionStringBuilder.