| MongoCollectionBaseTDocument Methods |
The MongoCollectionBaseTDocument generic type exposes the following members.
| Name | Description | |
|---|---|---|
| AggregateAsyncTResult |
Runs an aggregation pipeline.
| |
| BulkWriteAsync |
Performs multiple write operations.
| |
| CountAsync |
Counts the number of documents in the collection.
| |
| DeleteManyAsync |
Deletes multiple documents.
| |
| DeleteOneAsync |
Deletes a single document.
| |
| DistinctAsyncTField |
Gets the distinct values for a specified field.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindAsyncTProjection |
Finds the documents matching the filter.
| |
| FindOneAndDeleteAsyncTProjection |
Finds a single document and deletes it atomically.
| |
| FindOneAndReplaceAsyncTProjection |
Finds a single document and replaces it atomically.
| |
| FindOneAndUpdateAsyncTProjection |
Finds a single document and updates it atomically.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InsertManyAsync |
Inserts many documents.
| |
| InsertOneAsync |
Inserts a single document.
| |
| MapReduceAsyncTResult |
Executes a map-reduce command.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OfTypeTDerivedDocument |
Returns a filtered collection that appears to contain only documents of the derived type.
All operations using this filtered collection will automatically use discriminators as necessary.
| |
| ReplaceOneAsync |
Replaces a single document.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateManyAsync |
Updates many documents.
| |
| UpdateOneAsync |
Updates a single document.
| |
| WithReadPreference |
Returns a new collection with a different read preference.
| |
| WithWriteConcern |
Returns a new collection with a different write concern.
|