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
SystemObject
  MongoDB.Driver.LinqLinqToMongo

Namespace:  MongoDB.Driver.Linq
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public static class LinqToMongo

The LinqToMongo type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContainsAllTSource
Determines whether a sequence contains all of the specified values.
Public methodStatic memberContainsAnyTSource
Determines whether a sequence contains any of the specified values.
Public methodStatic memberInTSource
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 memberWithIndexTSource(IQueryableTSource, BsonDocument)
Sets an index hint on the query that's being built.
Public methodStatic memberWithIndexTSource(IQueryableTSource, String)
Sets an index hint on the query that's being built.
Top
See Also