Table of Contents

Constructor SelectQuery

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.Legacy.dll

SelectQuery(MongoCollection, Type)

Initializes a new instance of the MongoLinqFindQuery class.

public SelectQuery(MongoCollection collection, Type documentType)

Parameters

collection MongoCollection

The collection being queried.

documentType Type

The document type.