Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


ObjectQuery.IQueryable.Expression Property

Definition

Gets the expression describing this query.

C#
System.Linq.Expressions.Expression System.Linq.IQueryable.Expression { get; }

Property Value

The LINQ Expression that describes this query.

Implements

Remarks

For queries built by using LINQ builder patterns, this returns a full LINQ expression tree; otherwise, it returns a constant expression that wraps this query. Note that the default expression is not cached. This allows the framework to differentiate between LINQ and Entity SQL queries.

This member is an explicit interface member implementation. It can be used only when the ObjectQuery<T> instance is cast to an IListSource interface.

Applies to

Termék Verziók
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1