DbExpressionBuilder.Bind Method (DbExpression)

.NET Framework (current version)
 

Creates a new DbExpressionBinding that uses a generated variable name to bind the given expression.

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

public static DbExpressionBinding Bind(
	this DbExpression input
)

Parameters

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

The expression to bind.

Return Value

Type: System.Data.Common.CommandTrees.DbExpressionBinding

A new expression binding with the specified expression and a generated variable name.

Exception Condition
ArgumentNullException

input is null.

ArgumentException

input does not have a collection result.

.NET Framework
Available since 4.5
Return to top
Show: