Where feature defined in the Specification behaves the same as
Where in Linq, and it accepts
Expression<Func<TSource, bool>> expression as a parameter.
Where is used to select objects meeting a certain criteria, as defined by a lambda expression. For example:
Query.Where(x => x.Id == Id);
This query will select an object
x.Id is equal to
Id. Note that while this particular query likely selects a single object (since Ids should generally be unique), the
Where operator will select all objects matching the specified criteria.