SqlClient Constructor (Type,  Object , Int32)Nemiro.Data.dll
Initializes a new instance of the SqlClient class.

Namespace: Nemiro.Data.Sql
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public SqlClient(
	Type cacheCustom,
	Object[] cacheCustomArgs,
	int cacheDuration
)

Parameters

cacheCustom
Type: System Type
Type of custom cache (must inherit from the ObjectCache class). The default value is taken from the NeData:Sql:CacheCustom configuration file.
cacheCustomArgs
Type:  System Object 
Additional parameters for initialization a custom cache. The default value is taken from the NeData:Sql:CacheCustomArgs configuration file.
cacheDuration
Type: System Int32
Duration caching the query results (in seconds). Minus one - without caching. Zero - use the value of the configuration file parameter NeData:Sql:CacheDuration.
See Also