Method FindAllAs
FindAllAs<TDocument>()
Returns a cursor that can be used to find all documents in this collection as TDocuments.
Returns
- Mongo
Cursor <TDocument>
Type Parameters
TDocument
The nominal type of the documents.
FindAllAs(Type)
Returns a cursor that can be used to find all documents in this collection as TDocuments.
Parameters
documentType
TypeThe nominal type of the documents.