SqlSet.Any Method (String, Object[])
Determines whether any element of the set satisfies a condition.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public bool Any(
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 any elements in the set pass the test in the specified predicate; otherwise, false.