Method Where
Where(Expression<Func<TDocument, bool>>)
Builds a query from an expression.
public static IMongoQuery Where(Expression<Func<TDocument, bool>> expression)
Parameters
expression
Expression<Func<TDocument, bool>>The expression.
Returns
- IMongoQuery
An IMongoQuery.