DbExpressionBuilder.OuterApply メソッド

定義

指定した入力セットの各要素に対して指定されたDbApplyExpression式を 1 回評価する新しいapplyを作成し、対応する入力を持つ行のコレクションを生成し、列を適用します。

オーバーロード

名前 説明
OuterApply(DbExpression, Func<DbExpression,KeyValuePair<String,DbExpression>>)

指定した入力セットの各要素に対して指定されたDbApplyExpression式を 1 回評価する新しいapplyを作成し、対応する入力を持つ行のコレクションを生成し、列を適用します。 applyが空のセットに評価される行には、nullの列の値が適用されます。

OuterApply(DbExpressionBinding, DbExpressionBinding)

指定した入力セットの各要素に対して指定されたDbApplyExpression式を 1 回評価する新しいapplyを作成し、対応する入力を持つ行のコレクションを生成し、列を適用します。 applyが空のセットに評価される行には、nullの列の値が適用されます。

OuterApply(DbExpression, Func<DbExpression,KeyValuePair<String,DbExpression>>)

指定した入力セットの各要素に対して指定されたDbApplyExpression式を 1 回評価する新しい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

入力セットを指定する DbExpression

apply
Func<DbExpression,KeyValuePair<String,DbExpression>>

入力セットのメンバーごとに 1 回評価するロジックを指定するメソッド。

返品

指定された入力を持つ新しい DbApplyExpression で、バインドと OuterApply の DbExpressionKind を適用します。

例外

source または apply が null です。

-または-

applyの結果には、null の名前または式が含まれます。

source にはコレクションの結果の型がありません。

-または-

applyの結果には、式バインドで無効な名前または式が含まれています。

適用対象

OuterApply(DbExpressionBinding, DbExpressionBinding)

指定した入力セットの各要素に対して指定されたDbApplyExpression式を 1 回評価する新しい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

入力セットのメンバーごとに 1 回評価するロジックを指定する DbExpressionBinding

返品

指定された入力を持つ新しい DbApplyExpression で、バインドと OuterApply の DbExpressionKind を適用します。

例外

input または apply が null です。

適用対象