MongoCollectionBaseTDocument Class |
Namespace: MongoDB.Driver
The MongoCollectionBaseTDocument type exposes the following members.
Name | Description | |
---|---|---|
MongoCollectionBaseTDocument | Initializes a new instance of the MongoCollectionBaseTDocument class |
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 | (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 a hash function for a particular type. (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.) | |
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.
|
Name | Description | |
---|---|---|
CollectionNamespace |
Gets the namespace of the collection.
| |
Database |
Gets the database.
| |
DocumentSerializer |
Gets the document serializer.
| |
Indexes |
Gets the index manager.
| |
Settings |
Gets the settings.
|