Interface ICustomServiceQueryHelper
Assembly: LemonEdge.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
GetUseLabels
Declaration
bool GetUseLabels { get; }
Property Value
Methods
ExecuteCount<T>(IQueryable<T>)
Declaration
Task<int> ExecuteCount<T>(IQueryable<T> query) where T : IBaseEntity
Parameters
Returns
Type Parameters
ExecuteItems<T>(IQueryable<T>)
Declaration
Task<IEnumerable<T>> ExecuteItems<T>(IQueryable<T> query) where T : IBaseEntity
Parameters
Returns
Type Parameters
GetQueryableItems(Type, Guid)
Declaration
IQueryable GetQueryableItems(Type entityType, Guid forType = default)
Parameters
Type |
Name |
Description |
Type |
entityType |
|
Guid |
forType |
|
Returns
GetQueryableItems<T>(Guid)
Returns a queryable set of the specified item type
Declaration
IQueryable<T> GetQueryableItems<T>(Guid forType = default) where T : IBaseEntity
Parameters
Type |
Name |
Description |
Guid |
forType |
A sub item type if accessing permissions or other replicated item types
|
Returns
Type |
Description |
IQueryable<T> |
A queryable set of those items
|
Type Parameters
Name |
Description |
T |
The type of item to query
|
UseLabels(bool)
Declaration
IEntityRetriever UseLabels(bool useLabels)
Parameters
Type |
Name |
Description |
bool |
useLabels |
|
Returns
Extension Methods
See Also