Table of Contents

Class IsolatedQuery

Namespace
The.Linq
Assembly
Instagile.dll

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

expression Expression
sourceEntityName string
targetEntityName string
keyLevel FilterLevel
path RelationshipPath

IsolatedQuery(IEntityQuery, RelationshipPath?)

Create an IsolatedQuery by decomposing an IEntityQuery.

public IsolatedQuery(IEntityQuery query, RelationshipPath? path)

Parameters

query IEntityQuery
path RelationshipPath

Properties

Expression

Expression tree extracted from the query.

public Expression Expression { get; }

Property Value

Expression

KeyLevel

Hierarchical cache level of the query.

public FilterLevel KeyLevel { get; }

Property Value

FilterLevel

Path

Path used to construct Include() queries. Null for top-level queries.

public RelationshipPath? Path { get; }

Property Value

RelationshipPath

SourceEntityName

Source entity type name (from query provider).

public string SourceEntityName { get; }

Property Value

string

TargetEntityName

Target entity type name (from query element type).

public string TargetEntityName { get; }

Property Value

string