Click or drag to resize
IFilteredMongoCollectionTDocument Methods

The IFilteredMongoCollectionTDocument generic type exposes the following members.

Methods
  NameDescription
Public methodAggregateTResult
Runs an aggregation pipeline.
(Inherited from IMongoCollectionTDocument.)
Public methodAggregateAsyncTResult
Runs an aggregation pipeline.
(Inherited from IMongoCollectionTDocument.)
Public methodBulkWrite
Performs multiple write operations.
(Inherited from IMongoCollectionTDocument.)
Public methodBulkWriteAsync
Performs multiple write operations.
(Inherited from IMongoCollectionTDocument.)
Public methodCount
Counts the number of documents in the collection.
(Inherited from IMongoCollectionTDocument.)
Public methodCountAsync
Counts the number of documents in the collection.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteMany(FilterDefinitionTDocument, CancellationToken)
Deletes multiple documents.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteMany(FilterDefinitionTDocument, DeleteOptions, CancellationToken)
Deletes multiple documents.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteManyAsync(FilterDefinitionTDocument, CancellationToken)
Deletes multiple documents.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteManyAsync(FilterDefinitionTDocument, DeleteOptions, CancellationToken)
Deletes multiple documents.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteOne(FilterDefinitionTDocument, CancellationToken)
Deletes a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteOne(FilterDefinitionTDocument, DeleteOptions, CancellationToken)
Deletes a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteOneAsync(FilterDefinitionTDocument, CancellationToken)
Deletes a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodDeleteOneAsync(FilterDefinitionTDocument, DeleteOptions, CancellationToken)
Deletes a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodDistinctTField
Gets the distinct values for a specified field.
(Inherited from IMongoCollectionTDocument.)
Public methodDistinctAsyncTField
Gets the distinct values for a specified field.
(Inherited from IMongoCollectionTDocument.)
Public methodFindAsyncTProjection
Finds the documents matching the filter.
(Inherited from IMongoCollectionTDocument.)
Public methodFindOneAndDeleteTProjection
Finds a single document and deletes it atomically.
(Inherited from IMongoCollectionTDocument.)
Public methodFindOneAndDeleteAsyncTProjection
Finds a single document and deletes it atomically.
(Inherited from IMongoCollectionTDocument.)
Public methodFindOneAndReplaceTProjection
Finds a single document and replaces it atomically.
(Inherited from IMongoCollectionTDocument.)
Public methodFindOneAndReplaceAsyncTProjection
Finds a single document and replaces it atomically.
(Inherited from IMongoCollectionTDocument.)
Public methodFindOneAndUpdateTProjection
Finds a single document and updates it atomically.
(Inherited from IMongoCollectionTDocument.)
Public methodFindOneAndUpdateAsyncTProjection
Finds a single document and updates it atomically.
(Inherited from IMongoCollectionTDocument.)
Public methodFindSyncTProjection
Finds the documents matching the filter.
(Inherited from IMongoCollectionTDocument.)
Public methodInsertMany
Inserts many documents.
(Inherited from IMongoCollectionTDocument.)
Public methodInsertManyAsync
Inserts many documents.
(Inherited from IMongoCollectionTDocument.)
Public methodInsertOne
Inserts a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodInsertOneAsync(TDocument, CancellationToken) Obsolete.
Inserts a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodInsertOneAsync(TDocument, InsertOneOptions, CancellationToken)
Inserts a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodMapReduceTResult
Executes a map-reduce command.
(Inherited from IMongoCollectionTDocument.)
Public methodMapReduceAsyncTResult
Executes a map-reduce command.
(Inherited from IMongoCollectionTDocument.)
Public methodOfTypeTDerivedDocument
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.
(Inherited from IMongoCollectionTDocument.)
Public methodReplaceOne
Replaces a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodReplaceOneAsync
Replaces a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodUpdateMany
Updates many documents.
(Inherited from IMongoCollectionTDocument.)
Public methodUpdateManyAsync
Updates many documents.
(Inherited from IMongoCollectionTDocument.)
Public methodUpdateOne
Updates a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodUpdateOneAsync
Updates a single document.
(Inherited from IMongoCollectionTDocument.)
Public methodWithReadConcern
Returns a new IMongoCollection instance with a different read concern setting.
(Inherited from IMongoCollectionTDocument.)
Public methodWithReadPreference
Returns a new IMongoCollection instance with a different read preference setting.
(Inherited from IMongoCollectionTDocument.)
Public methodWithWriteConcern
Returns a new IMongoCollection instance with a different write concern setting.
(Inherited from IMongoCollectionTDocument.)
Top
Extension Methods
  NameDescription
Public Extension MethodAggregateTDocument
Begins a fluent aggregation interface.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodAsQueryableTDocument
Creates a queryable source of documents.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodCountTDocument
Counts the number of documents in the collection.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodCountAsyncTDocument
Counts the number of documents in the collection.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteManyTDocument(ExpressionFuncTDocument, Boolean, CancellationToken)Overloaded.
Deletes multiple documents.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteManyTDocument(ExpressionFuncTDocument, Boolean, DeleteOptions, CancellationToken)Overloaded.
Deletes multiple documents.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteManyAsyncTDocument(ExpressionFuncTDocument, Boolean, CancellationToken)Overloaded.
Deletes multiple documents.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteManyAsyncTDocument(ExpressionFuncTDocument, Boolean, DeleteOptions, CancellationToken)Overloaded.
Deletes multiple documents.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteOneTDocument(ExpressionFuncTDocument, Boolean, CancellationToken)Overloaded.
Deletes a single document.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteOneTDocument(ExpressionFuncTDocument, Boolean, DeleteOptions, CancellationToken)Overloaded.
Deletes a single document.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteOneAsyncTDocument(ExpressionFuncTDocument, Boolean, CancellationToken)Overloaded.
Deletes a single document.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDeleteOneAsyncTDocument(ExpressionFuncTDocument, Boolean, DeleteOptions, CancellationToken)Overloaded.
Deletes a single document.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDistinctTDocument, TField(ExpressionFuncTDocument, TField, FilterDefinitionTDocument, DistinctOptions, CancellationToken)Overloaded.
Gets the distinct values for a specified field.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDistinctTDocument, TField(ExpressionFuncTDocument, TField, ExpressionFuncTDocument, Boolean, DistinctOptions, CancellationToken)Overloaded.
Gets the distinct values for a specified field.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDistinctTDocument, TField(FieldDefinitionTDocument, TField, ExpressionFuncTDocument, Boolean, DistinctOptions, CancellationToken)Overloaded.
Gets the distinct values for a specified field.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDistinctAsyncTDocument, TField(ExpressionFuncTDocument, TField, FilterDefinitionTDocument, DistinctOptions, CancellationToken)Overloaded.
Gets the distinct values for a specified field.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDistinctAsyncTDocument, TField(ExpressionFuncTDocument, TField, ExpressionFuncTDocument, Boolean, DistinctOptions, CancellationToken)Overloaded.
Gets the distinct values for a specified field.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodDistinctAsyncTDocument, TField(FieldDefinitionTDocument, TField, ExpressionFuncTDocument, Boolean, DistinctOptions, CancellationToken)Overloaded.
Gets the distinct values for a specified field.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindTDocument(ExpressionFuncTDocument, Boolean, FindOptions)Overloaded.
Begins a fluent find interface.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindTDocument(FilterDefinitionTDocument, FindOptions)Overloaded.
Begins a fluent find interface.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindAsyncTDocument(ExpressionFuncTDocument, Boolean, FindOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds the documents matching the filter.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindAsyncTDocument(FilterDefinitionTDocument, FindOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds the documents matching the filter.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndDeleteTDocument(ExpressionFuncTDocument, Boolean, FindOneAndDeleteOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and deletes it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndDeleteTDocument(FilterDefinitionTDocument, FindOneAndDeleteOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and deletes it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndDeleteTDocument, TProjection(ExpressionFuncTDocument, Boolean, FindOneAndDeleteOptionsTDocument, TProjection, CancellationToken)Overloaded.
Finds a single document and deletes it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndDeleteAsyncTDocument(ExpressionFuncTDocument, Boolean, FindOneAndDeleteOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and deletes it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndDeleteAsyncTDocument(FilterDefinitionTDocument, FindOneAndDeleteOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and deletes it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndDeleteAsyncTDocument, TProjection(ExpressionFuncTDocument, Boolean, FindOneAndDeleteOptionsTDocument, TProjection, CancellationToken)Overloaded.
Finds a single document and deletes it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndReplaceTDocument(ExpressionFuncTDocument, Boolean, TDocument, FindOneAndReplaceOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and replaces it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndReplaceTDocument(FilterDefinitionTDocument, TDocument, FindOneAndReplaceOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and replaces it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndReplaceTDocument, TProjection(ExpressionFuncTDocument, Boolean, TDocument, FindOneAndReplaceOptionsTDocument, TProjection, CancellationToken)Overloaded.
Finds a single document and replaces it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndReplaceAsyncTDocument(ExpressionFuncTDocument, Boolean, TDocument, FindOneAndReplaceOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and replaces it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndReplaceAsyncTDocument(FilterDefinitionTDocument, TDocument, FindOneAndReplaceOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and replaces it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndReplaceAsyncTDocument, TProjection(ExpressionFuncTDocument, Boolean, TDocument, FindOneAndReplaceOptionsTDocument, TProjection, CancellationToken)Overloaded.
Finds a single document and replaces it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndUpdateTDocument(ExpressionFuncTDocument, Boolean, UpdateDefinitionTDocument, FindOneAndUpdateOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and updates it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndUpdateTDocument(FilterDefinitionTDocument, UpdateDefinitionTDocument, FindOneAndUpdateOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and updates it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndUpdateTDocument, TProjection(ExpressionFuncTDocument, Boolean, UpdateDefinitionTDocument, FindOneAndUpdateOptionsTDocument, TProjection, CancellationToken)Overloaded.
Finds a single document and updates it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndUpdateAsyncTDocument(ExpressionFuncTDocument, Boolean, UpdateDefinitionTDocument, FindOneAndUpdateOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and updates it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndUpdateAsyncTDocument(FilterDefinitionTDocument, UpdateDefinitionTDocument, FindOneAndUpdateOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds a single document and updates it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindOneAndUpdateAsyncTDocument, TProjection(ExpressionFuncTDocument, Boolean, UpdateDefinitionTDocument, FindOneAndUpdateOptionsTDocument, TProjection, CancellationToken)Overloaded.
Finds a single document and updates it atomically.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindSyncTDocument(ExpressionFuncTDocument, Boolean, FindOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds the documents matching the filter.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodFindSyncTDocument(FilterDefinitionTDocument, FindOptionsTDocument, TDocument, CancellationToken)Overloaded.
Finds the documents matching the filter.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodReplaceOneTDocument
Replaces a single document.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodReplaceOneAsyncTDocument
Replaces a single document.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodUpdateManyTDocument
Updates many documents.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodUpdateManyAsyncTDocument
Updates many documents.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodUpdateOneTDocument
Updates a single document.
(Defined by IMongoCollectionExtensions.)
Public Extension MethodUpdateOneAsyncTDocument
Updates a single document.
(Defined by IMongoCollectionExtensions.)
Top
See Also