SqlSet.Any(String, Object[]) Method

Determines whether any element of the set satisfies a condition.

Namespace: DbExtensions
Assembly: DbExtensions.dll

Overloads

  Name Description
Public method Any() Determines whether the set contains any elements.
Public method Any(String, Object[]) Determines whether any element of the set satisfies a condition.

Syntax

public bool Any(
	string predicate,
	params Object[] parameters
)

Parameters

predicate  String

A SQL expression to test each row for a condition.

parameters  Object[]

The parameters to apply to the predicate.

Return Value

Boolean
true if any elements in the set pass the test in the specified predicate; otherwise, false.

See Also

Reference

SqlSet Class
DbExtensions Namespace

© Max Toro Q.