Click or drag to resize

IFilteredMongoCollectionTDocument Interface

A filtered mongo collection. The filter will be and'ed with all filters.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public interface IFilteredMongoCollection<TDocument> : IMongoCollection<TDocument>

Type Parameters

TDocument
The type of the document.

The IFilteredMongoCollectionTDocument type exposes the following members.

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