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. |
queryable | The DataSource. |
Caching |
cachingOptions | Provides the user to configure different options like Absolute expiration, sliding expiration etc. |
Caching |
cachingMethod | Enum that specifies the caching method i.e |