SqlClient CacheType Property Nemiro.Data.dll
Cache type. Default value is Auto, unless otherwise specified in the parameter NeData:Sql:CacheType of configuration files.

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

public CachingType CacheType { get; set; }

Property Value

Type: CachingType
Examples

<appSettings> 
  <clear /> 
  <!--Cache type--> 
  <add key="NeData:Sql:CacheType" value="File" /> 
  <!--File cache storage path--> 
  <add key="NeData:Sql:CachePath" value="C:\Cache\MyApplication" /> 
  <!--File cache buffer size (Kb)--> 
  <add key="NeData:Sql:CacheBufferSize" value="10240" /> 
</appSettings>
See Also