DbExpressionBuilder.OuterApply 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
OuterApply(DbExpression, Func<DbExpression,KeyValuePair<String,DbExpression>>) |
建立新的 DbApplyExpression ,針對指定輸入集的每個元素評估指定套用運算式一次,產生具有對應輸入的資料列集合並套用資料行。 套用的資料列會評估為空集,其套用資料行值為 null。 |
OuterApply(DbExpressionBinding, DbExpressionBinding) |
建立新的 DbApplyExpression ,針對指定輸入集的每個元素評估指定套用運算式一次,產生具有對應輸入的資料列集合並套用資料行。 套用的資料列會評估為空集,其套用資料行值為 null。 |
OuterApply(DbExpression, Func<DbExpression,KeyValuePair<String,DbExpression>>)
建立新的 DbApplyExpression ,針對指定輸入集的每個元素評估指定套用運算式一次,產生具有對應輸入的資料列集合並套用資料行。 套用的資料列會評估為空集,其套用資料行值為 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
指定輸入集的 DbExpression。
- apply
- Func<DbExpression,KeyValuePair<String,DbExpression>>
方法,指定要針對輸入集中每個成員進行一次評估的邏輯。
傳回
具有指定之輸入及套用繫結與 OuterApply 之 DbExpressionKind 的新 DbApplyExpression。
- 屬性
例外狀況
套用的結果包含 null 的名稱或運算式。
套用的結果包含名稱或運算式,在運算式系結中無效。
適用於
OuterApply(DbExpressionBinding, DbExpressionBinding)
建立新的 DbApplyExpression ,針對指定輸入集的每個元素評估指定套用運算式一次,產生具有對應輸入的資料列集合並套用資料行。 套用的資料列會評估為空集,其套用資料行值為 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,指定要針對輸入集中每個成員進行一次評估的邏輯。
傳回
具有指定之輸入及套用繫結與 OuterApply 之 DbExpressionKind 的新 DbApplyExpression。
例外狀況
輸入或套用為 null。