TranslatedQuery Constructor |
Initializes a new instance of the MongoLinqQuery class.
Namespace:
MongoDB.Driver.Linq
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax protected TranslatedQuery(
MongoCollection collection,
Type documentType
)
Protected Sub New (
collection As MongoCollection,
documentType As Type
)
new :
collection : MongoCollection *
documentType : Type -> TranslatedQuery
Parameters
- collection
- Type: MongoDB.DriverMongoCollection
The collection being queried. - documentType
- Type: SystemType
The document type being queried.
See Also