ObjectQuery.IQueryable.Expression 属性
定义
获取描述此查询的表达式。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
属性值
描述此查询的 LINQ Expression。The LINQ Expression that describes this query.
实现
注解
对于使用 LINQ 生成器模式生成的查询,会返回完全 LINQ 表达式树;否则,返回包装此查询的常量表达式。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. 这样,框架可以区分 LINQ 与 Entity SQL 查询。This allows the framework to differentiate between LINQ and Entity SQL queries.
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ObjectQuery<T> 实例被强制转换为 IListSource 接口时使用。It can be used only when the ObjectQuery<T> instance is cast to an IListSource interface.