DbExpressionBuilder.OuterApply Method (DbExpressionBinding, DbExpressionBinding)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new DbApplyExpression that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of null.

Namespace:   System.Data.Common.CommandTrees.ExpressionBuilder
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static DbApplyExpression OuterApply(
	this DbExpressionBinding input,
	DbExpressionBinding apply
)

Parameters

input
Type: System.Data.Common.CommandTrees.DbExpressionBinding

An DbExpressionBinding that specifies the input set.

apply
Type: System.Data.Common.CommandTrees.DbExpressionBinding

An DbExpressionBinding that specifies logic to evaluate once for each member of the input set.

Return Value

Type: System.Data.Common.CommandTrees.DbApplyExpression

An new DbApplyExpression with the specified input and apply bindings and an DbExpressionKind of OuterApply.

Exception Condition
ArgumentNullException

input or apply is null.

.NET Framework
Available since 4.5
Return to top
Show: