All Method (DbExpressionBinding, DbExpression)
Collapse the table of content
Expand the table of content

DbExpressionBuilder.All Method (DbExpressionBinding, DbExpression)

.NET Framework (current version)
 

Creates a new DbQuantifierExpression that determines whether the given predicate holds for all elements of the input set.

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

public static DbQuantifierExpression All(
	this DbExpressionBinding input,
	DbExpression predicate
)

Parameters

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

An expression binding that specifies the input set.

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

An expression representing a predicate to evaluate for each member of the input set.

Return Value

Type: System.Data.Common.CommandTrees.DbQuantifierExpression

A new DbQuantifierExpression that represents the All operation.

Exception Condition
ArgumentNullException

input or predicate is null.

ArgumentException

predicate does not have a Boolean result type.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft