Enum to define the data cache to use for the LLBLGen Pro DataSource controls in an ASP.NET application
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 188.8.131.52 (5.3.0)
public enum DataSourceCacheLocation
Public Enumeration DataSourceCacheLocation
Data is stored in the viewstate. Default.
Data is stored in the Session object using a key which is unique for control instance - page combination.
Data is stored in the ASPNet cache using a GUID based key. As the data cached is used in a post-back
scenario when data has changed, the duration of the cached data is set to the value specified in the ASPNetCacheDuration property of the
datasource control. Duration is always sliding, i.e. expires after ASPNetCacheDuration if the data hasn't been requested from the ASPNet cache.
Data isn't cached, all other state is cached in the viewstate. Using this option will cause a refetch of the data if the bound control is
editing the data. Only use this cache location option if the data is used in a read-only fashion. Do realize that if the datasource control is
asked to refetch the data, it will always have to go to the database to fetch the data.