Click or drag to resize

LinqToMongo Class

This static class holds methods that can be used to express MongoDB specific query operations in LINQ queries.
Inheritance Hierarchy
System.Object
  MongoDB.Driver.Linq.LinqToMongo

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public static class LinqToMongo

The LinqToMongo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContainsAll<TSource>
Determines whether a sequence contains all of the specified values.
Public methodStatic memberContainsAny<TSource>
Determines whether a sequence contains any of the specified values.
Public methodStatic memberIn<TSource>
Determines whether a specified value is contained in a sequence.
Public methodStatic memberInject
Injects a low level IMongoQuery into a LINQ where clause. Can only be used in LINQ queries.
Public methodStatic memberWithIndex<TSource>(IQueryable<TSource>, BsonDocument)
Sets an index hint on the query that's being built.
Public methodStatic memberWithIndex<TSource>(IQueryable<TSource>, String)
Sets an index hint on the query that's being built.
Top
See Also