SqlSet<TResult>.Where Method

Filters the set based on a predicate.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlSet<TResult> Where(
	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: SqlSet<TResult>
A new SqlSet<TResult> that contains elements from the current set that satisfy the condition.

See Also

Reference

SqlSet<TResult> Class
DbExtensions Namespace

© Max Toro Q.