DbExpressionBuilder.OuterApply 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個新運算 DbApplyExpression 式,對給定輸入集合的每個元素評估一次, apply 產生一組列,並對應輸入與應用欄位。
多載
| 名稱 | Description |
|---|---|
| OuterApply(DbExpression, Func<DbExpression,KeyValuePair<String,DbExpression>>) |
建立一個新運算 DbApplyExpression 式,對給定輸入集合的每個元素評估一次, |
| OuterApply(DbExpressionBinding, DbExpressionBinding) |
建立一個新運算 DbApplyExpression 式,對給定輸入集合的每個元素評估一次, |
OuterApply(DbExpression, Func<DbExpression,KeyValuePair<String,DbExpression>>)
建立一個新運算 DbApplyExpression 式,對給定輸入集合的每個元素評估一次, apply 產生一組列,並對應輸入與應用欄位。 當 apply 的列值為空集合時,其應用欄位值為 null。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbApplyExpression ^ OuterApply(System::Data::Common::CommandTrees::DbExpression ^ source, Func<System::Data::Common::CommandTrees::DbExpression ^, System::Collections::Generic::KeyValuePair<System::String ^, System::Data::Common::CommandTrees::DbExpression ^>> ^ apply);
public static System.Data.Common.CommandTrees.DbApplyExpression OuterApply(this System.Data.Common.CommandTrees.DbExpression source, Func<System.Data.Common.CommandTrees.DbExpression,System.Collections.Generic.KeyValuePair<string,System.Data.Common.CommandTrees.DbExpression>> apply);
static member OuterApply : System.Data.Common.CommandTrees.DbExpression * Func<System.Data.Common.CommandTrees.DbExpression, System.Collections.Generic.KeyValuePair<string, System.Data.Common.CommandTrees.DbExpression>> -> System.Data.Common.CommandTrees.DbApplyExpression
<Extension()>
Public Function OuterApply (source As DbExpression, apply As Func(Of DbExpression, KeyValuePair(Of String, DbExpression))) As DbApplyExpression
參數
- source
- DbExpression
A DbExpression 指定輸入集合。
- apply
- Func<DbExpression,KeyValuePair<String,DbExpression>>
一種方法,指定對輸入集合中每個成員評估一次的邏輯。
傳回
一個新的 DbApplyExpression,包含指定的輸入與應用綁定,以及 DbExpressionKind OuterApply。
例外狀況
適用於
OuterApply(DbExpressionBinding, DbExpressionBinding)
建立一個新運算 DbApplyExpression 式,對給定輸入集合的每個元素評估一次, apply 產生一組列,並對應輸入與應用欄位。 當 apply 的列值為空集合時,其應用欄位值為 null。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbApplyExpression ^ OuterApply(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpressionBinding ^ apply);
public static System.Data.Common.CommandTrees.DbApplyExpression OuterApply(this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpressionBinding apply);
static member OuterApply : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpressionBinding -> System.Data.Common.CommandTrees.DbApplyExpression
<Extension()>
Public Function OuterApply (input As DbExpressionBinding, apply As DbExpressionBinding) As DbApplyExpression
參數
- input
- DbExpressionBinding
一個 DbExpressionBinding 指定輸入集合的 。
- apply
- DbExpressionBinding
一個 DbExpressionBinding 指定對輸入集合中每個成員進行一次評估的邏輯。
傳回
一個新的 DbApplyExpression,包含指定的輸入與應用綁定,以及 DbExpressionKind OuterApply。
例外狀況
input 或 apply 為空值。