Share via


ObjectQuery.IQueryable.Expression Property

Definition

Gets the expression describing this query. For queries built using LINQ builder patterns, returns a full LINQ expression tree; otherwise, returns a constant expression wrapping this query. Note that the default expression is not cached. This allows us to differentiate between LINQ and Entity-SQL queries.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
System.Linq.Expressions.Expression System.Linq.IQueryable.Expression { get; }
System.Linq.IQueryable.Expression
 ReadOnly Property Expression As Expression Implements IQueryable.Expression

Property Value

Implements

Attributes

Applies to