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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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