Class IsolatedQuery
Dynamic representation of a query without Include() that can be independently cached and executed.
public sealed class IsolatedQuery
- Inheritance
-
IsolatedQuery
- Inherited Members
Constructors
IsolatedQuery(Expression, string, string, FilterLevel, RelationshipPath?)
Create an IsolatedQuery from raw components.
public IsolatedQuery(Expression expression, string sourceEntityName, string targetEntityName, FilterLevel keyLevel, RelationshipPath? path)
Parameters
expressionExpressionsourceEntityNamestringtargetEntityNamestringkeyLevelFilterLevelpathRelationshipPath
IsolatedQuery(IEntityQuery, RelationshipPath?)
Create an IsolatedQuery by decomposing an IEntityQuery.
public IsolatedQuery(IEntityQuery query, RelationshipPath? path)
Parameters
queryIEntityQuerypathRelationshipPath
Properties
Expression
Expression tree extracted from the query.
public Expression Expression { get; }
Property Value
KeyLevel
Hierarchical cache level of the query.
public FilterLevel KeyLevel { get; }
Property Value
Path
Path used to construct Include() queries. Null for top-level queries.
public RelationshipPath? Path { get; }
Property Value
SourceEntityName
Source entity type name (from query provider).
public string SourceEntityName { get; }
Property Value
TargetEntityName
Target entity type name (from query element type).
public string TargetEntityName { get; }