Class LinqToMongo
This static class holds methods that can be used to express MongoDB specific query operations in LINQ queries.
public static class LinqToMongo
- Inheritance
-
LinqToMongo
- Inherited Members
Methods
- ContainsAll<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
Determines whether a sequence contains all of the specified values.
- ContainsAny<TSource>(IEnumerable<TSource>, IEnumerable<TSource>)
Determines whether a sequence contains any of the specified values.
- In<TSource>(TSource, IEnumerable<TSource>)
Determines whether a specified value is contained in a sequence.
- Inject(IMongoQuery)
Injects a low level IMongoQuery into a LINQ where clause. Can only be used in LINQ queries.
- WithIndex<TSource>(IQueryable<TSource>, BsonDocument)
Sets an index hint on the query that's being built.
- WithIndex<TSource>(IQueryable<TSource>, string)
Sets an index hint on the query that's being built.