EnumerableQuery<T>.IQueryProvider.Execute 方法

定義

多載

IQueryProvider.Execute(Expression)

在無法以 Enumerable 方法查詢的可列舉資料來源上,將重新寫入運算式以呼叫 Queryable 方法後,執行運算式,而不使用 Queryable 方法。Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

IQueryProvider.Execute<S>(Expression)

在無法以 Enumerable 方法查詢的可列舉資料來源上,將重新寫入運算式以呼叫 Queryable 方法後,執行運算式,而不使用 Queryable 方法。Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

IQueryProvider.Execute(Expression)

在無法以 Enumerable 方法查詢的可列舉資料來源上,將重新寫入運算式以呼叫 Queryable 方法後,執行運算式,而不使用 Queryable 方法。Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

 virtual System::Object ^ System.Linq.IQueryProvider.Execute(System::Linq::Expressions::Expression ^ expression) = System::Linq::IQueryProvider::Execute;
object IQueryProvider.Execute (System.Linq.Expressions.Expression expression);

參數

expression
Expression

要執行的運算式樹狀架構。An expression tree to execute.

傳回

執行 expression 所產生的值。The value that results from executing expression.

實作

IQueryProvider.Execute<S>(Expression)

在無法以 Enumerable 方法查詢的可列舉資料來源上,將重新寫入運算式以呼叫 Queryable 方法後,執行運算式,而不使用 Queryable 方法。Executes an expression after rewriting it to call Enumerable methods instead of Queryable methods on any enumerable data sources that cannot be queried by Queryable methods.

generic <typename S>
 virtual S System.Linq.IQueryProvider.Execute(System::Linq::Expressions::Expression ^ expression) = System::Linq::IQueryProvider::Execute;
S IQueryProvider.Execute<S> (System.Linq.Expressions.Expression expression);

類型參數

S

expression 所代表之集合中的資料型別。The type of the data in the collection that expression represents.

參數

expression
Expression

要執行的運算式樹狀架構。An expression tree to execute.

傳回

S

執行 expression 所產生的值。The value that results from executing expression.

實作

適用於