Share via


DbExpressionBuilder.CrossApply 메서드

정의

지정된 입력 집합의 각 요소에 대해 주어진 apply 식을 한 번씩 계산하고 해당 입력 및 apply 열로 행 컬렉션을 생성하는 새 DbApplyExpression을 만듭니다.

오버로드

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

지정된 입력 집합의 각 요소에 대해 주어진 apply 식을 한 번씩 계산하고 해당 입력 및 apply 열로 행 컬렉션을 생성하는 새 DbApplyExpression을 만듭니다. apply가 빈 집합으로 계산되는 행은 포함되지 않습니다.

CrossApply(DbExpressionBinding, DbExpressionBinding)

지정된 입력 집합의 각 요소에 대해 주어진 apply 식을 한 번씩 계산하고 해당 입력 및 apply 열로 행 컬렉션을 생성하는 새 DbApplyExpression을 만듭니다. apply가 빈 집합으로 계산되는 행은 포함되지 않습니다.

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

지정된 입력 집합의 각 요소에 대해 주어진 apply 식을 한 번씩 계산하고 해당 입력 및 apply 열로 행 컬렉션을 생성하는 새 DbApplyExpression을 만듭니다. apply가 빈 집합으로 계산되는 행은 포함되지 않습니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbApplyExpression ^ CrossApply(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 CrossApply (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 CrossApply : 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 CrossApply (source As DbExpression, apply As Func(Of DbExpression, KeyValuePair(Of String, DbExpression))) As DbApplyExpression

매개 변수

source
DbExpression

입력 집합을 지정하는 DbExpression입니다.

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

입력 집합의 각 멤버에 대해 한 번씩 확인할 논리를 지정하는 메서드입니다.

반환

지정된 입력 및 적용 바인딩과 CrossApply의 DbExpressionKind를 사용하는 새 DbApplyExpression입니다.

예외

source 또는 apply가 null입니다.

또는

apply 결과에 null인 이름이나 식이 포함되어 있습니다.

source에 컬렉션 결과 형식이 없습니다.

또는

apply 결과 식 바인딩에 유효하지 않은 이름 또는 식이 포함된 경우

적용 대상

CrossApply(DbExpressionBinding, DbExpressionBinding)

지정된 입력 집합의 각 요소에 대해 주어진 apply 식을 한 번씩 계산하고 해당 입력 및 apply 열로 행 컬렉션을 생성하는 새 DbApplyExpression을 만듭니다. apply가 빈 집합으로 계산되는 행은 포함되지 않습니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbApplyExpression ^ CrossApply(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpressionBinding ^ apply);
public static System.Data.Common.CommandTrees.DbApplyExpression CrossApply (this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpressionBinding apply);
static member CrossApply : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpressionBinding -> System.Data.Common.CommandTrees.DbApplyExpression
<Extension()>
Public Function CrossApply (input As DbExpressionBinding, apply As DbExpressionBinding) As DbApplyExpression

매개 변수

input
DbExpressionBinding

입력 집합을 지정하는 DbExpressionBinding입니다.

apply
DbExpressionBinding

입력 집합의 각 멤버에 대해 한 번씩 확인할 논리를 지정하는 DbExpressionBinding입니다.

반환

지정된 입력 및 적용 바인딩과 CrossApply의 DbExpressionKind를 사용하는 새 DbApplyExpression입니다.

예외

input 또는 apply가 null입니다.

적용 대상