Class QueryContext<TProps>
Query context - contains all information about LINQ query
public class QueryContext<TProps> where TProps : class, new()
Inheritance
Properties
CheckPermissions
public bool CheckPermissions { get; init; }
DistinctByField
Field for DISTINCT ON (field) - one object per each unique field value
public OrderingExpression? DistinctByField { get; set; }
DistinctByIsBaseField
true = DistinctByField is a base IRedbObject field
public bool DistinctByIsBaseField { get; set; }
Filter
public FilterExpression? Filter { get; set; }
IsDistinct
public bool IsDistinct { get; set; }
IsDistinctRedb
DISTINCT by base IRedbObject fields (Name, ValueLong, ParentId, etc.) excluding Id.
public bool IsDistinctRedb { get; set; }
LazyReferences
V4 (LAZY Л2): per-query override of EnableLazyReferences. null = use the global
public bool? LazyReferences { get; set; }
Limit
public int? Limit { get; set; }
MaxDepth
public int? MaxDepth { get; init; }
MaxRecursionDepth
public int? MaxRecursionDepth { get; set; }
Offset
public int? Offset { get; set; }
Orderings
public List<OrderingExpression> Orderings { get; set; }
ParentId
public long? ParentId { get; init; }
ParentIds
public long[]? ParentIds { get; set; }
ProjectedFieldPaths
PROJECTION: Text field paths for SQL function search_objects_with_projection_by_paths
public List<string>? ProjectedFieldPaths { get; set; }
ProjectedStructureIds
PROJECTION: Structure IDs for optimized Props loading
public HashSet<long>? ProjectedStructureIds { get; set; }
ProjectionReadsNoProps
PROJECTION: the selector was read completely and touches no Props field (base fields only),
public bool ProjectionReadsNoProps { get; set; }
SchemeId
public long SchemeId { get; init; }
SkipPropsLoading
PROJECTION: Skip ALL Props post-processing in MaterializeResultsFromJson.
public bool SkipPropsLoading { get; set; }
UserId
public long? UserId { get; init; }