SqlSet.All Method
Determines whether all elements of the set satisfy a condition.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public bool All(
string predicate,
params Object[] parameters
)
Parameters
predicate
Type: System.String
A SQL expression to test each row for a condition.
parameters
Type: System.Object[]
The parameters to apply to the predicate.
Return Value
Type: Boolean
true if every element of the set passes the test in the specified predicate, or if the set is empty; otherwise, false.