Class BulkWriteReplaceOneModel
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Represents replace one operation in the scope of BulkWrite operation.
public sealed class BulkWriteReplaceOneModel<TDocument> : BulkWriteModel
Type Parameters
TDocument
The type of the document.
Inheritance
BulkWriteReplaceOneModel
Inherited Members
Constructors
Initializes a new instance of the BulkWriteReplaceOneModel class.
Initializes a new instance of the BulkWriteReplaceOneModel class.
BulkWriteReplaceOneModel(string, FilterDefinition, TDocument, Collation, BsonValue, bool)
Initializes a new instance of the BulkWriteReplaceOneModel class.
Initializes a new instance of the BulkWriteReplaceOneModel class.
Properties
Specifies a collation.
The filter to apply.
The index to use.
Indicating whether to insert the document if it doesn't already exist.
Update definition.
The sort definition to use.