DbExpressionBuilder.CrossJoin Method (IEnumerable<DbExpressionBinding>)

 

Creates a new DbCrossJoinExpression that unconditionally joins the sets specified by the list of input expression bindings.

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

public static DbCrossJoinExpression CrossJoin(
	IEnumerable<DbExpressionBinding> inputs
)

Parameters

inputs
Type: System.Collections.Generic.IEnumerable<DbExpressionBinding>

A list of expression bindings that specifies the input sets.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbCrossJoinExpression

A new DbCrossJoinExpression, with an DbExpressionKind of CrossJoin, that represents the unconditional join of the input sets.

Exception Condition
ArgumentNullException

inputs is null or contains null.

ArgumentException

inputs contains fewer than 2 expression bindings.