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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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