ObjectQuery.IQueryable.Expression ObjectQuery.IQueryable.Expression ObjectQuery.IQueryable.Expression Property


Gets the expression describing this query.

property System::Linq::Expressions::Expression ^ System::Linq::IQueryable::Expression { System::Linq::Expressions::Expression ^ get(); };
System.Linq.Expressions.Expression System.Linq.IQueryable.Expression { get; }
 ReadOnly Property Expression As Expression Implements IQueryable.Expression

Property Value

The LINQ Expression that describes this query.



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