共用方式為


DbQuery.IQueryable.Expression 屬性

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]

IQueryable LINQ 運算式。

命名空間:  System.Data.Entity.Infrastructure
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property Expression As Expression 
    Implements IQueryable.Expression 
    Get
'用途
Dim instance As DbQuery 
Dim value As Expression 

value = CType(instance, IQueryable).Expression
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
Expression IQueryable.Expression { get; }
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual property Expression^ Expression {
    Expression^ get () sealed = IQueryable::Expression::get;
}
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract Expression : Expression
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override Expression : Expression
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

屬性值

類型:System.Linq.Expressions.Expression

Implements

IQueryable.Expression

請參閱

參考

DbQuery 類別

System.Data.Entity.Infrastructure 命名空間