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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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