Constructor NCacheQueryable
NCacheQueryable(IQueryable<T>, CachingOptions, CachingMethod)
Initializes a new instance of the NCacheQueryable class.
Declaration
public NCacheQueryable(IQueryable<T> queryable, CachingOptions cachingOptions, CachingMethod cachingMethod)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.IQueryable<T> | queryable | The DataSource. |
CachingOptions | cachingOptions | Provides the user to configure different options like Absolute expiration, sliding expiration etc. |
CachingMethod | cachingMethod | Enum that specifies the caching method i.e |