Click or drag to resize

IMongoCollectionExtensions.ReplaceOneAsync Method

Overload List
  NameDescription
Public methodStatic memberReplaceOneAsync<TDocument>(IMongoCollection<TDocument>, Expression<Func<TDocument, Boolean>>, TDocument, ReplaceOptions, CancellationToken)
Replaces a single document.
Public methodStatic memberReplaceOneAsync<TDocument>(IMongoCollection<TDocument>, Expression<Func<TDocument, Boolean>>, TDocument, UpdateOptions, CancellationToken) Obsolete.
Replaces a single document.
Public methodStatic memberReplaceOneAsync<TDocument>(IMongoCollection<TDocument>, IClientSessionHandle, Expression<Func<TDocument, Boolean>>, TDocument, ReplaceOptions, CancellationToken)
Replaces a single document.
Public methodStatic memberReplaceOneAsync<TDocument>(IMongoCollection<TDocument>, IClientSessionHandle, Expression<Func<TDocument, Boolean>>, TDocument, UpdateOptions, CancellationToken) Obsolete.
Replaces a single document.
Top
See Also