Interface ICustomServiceQueryHelper
A helper class used by any CustomServiceQueryExtender<T> implementation in order to retrieve items to build a query with
Namespace: LemonEdge.Core
Assembly: API.dll
Syntax
public interface ICustomServiceQueryHelper
Properties
Cache
A local cache for accessing data for your query that is already held locally
Declaration
IReadOnlyCache Cache { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCache |
Methods
GetQueryableItems<T>(Guid)
Returns a queryable set of the specified item type
Declaration
IQueryable<T> GetQueryableItems<T>(Guid forType = default(Guid))
where T : IBaseEntity
Parameters
Type | Name | Description |
---|---|---|
System.Guid | forType | A sub item type if accessing permissions or other replicated item types |
Returns
Type | Description |
---|---|
System.Linq.IQueryable<T> | A queryable set of those items |
Type Parameters
Name | Description |
---|---|
T | The type of item to query |