Initializes a new instance of the MongoLinqFindQuery class.
Namespace:
MongoDB.Driver.Linq
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public SelectQuery(
MongoCollection collection,
Type documentType
)
Public Sub New (
collection As MongoCollection,
documentType As Type
)
new :
collection : MongoCollection *
documentType : Type -> SelectQuery
Parameters
- collection
- Type: MongoDB.DriverMongoCollection
The collection being queried. - documentType
- Type: SystemType
The document type.
See Also