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