Class BulkWriteReplaceOneModel<TDocument>
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<TDocument>
- Inherited Members
Constructors
- BulkWriteReplaceOneModel(CollectionNamespace, FilterDefinition<TDocument>, TDocument, Collation, BsonValue, bool)
Initializes a new instance of the BulkWriteReplaceOneModel<TDocument> class.
- BulkWriteReplaceOneModel(string, FilterDefinition<TDocument>, TDocument, Collation, BsonValue, bool)
Initializes a new instance of the BulkWriteReplaceOneModel<TDocument> class.
Properties
- Collation
Specifies a collation.
- Filter
The filter to apply.
- Hint
The index to use.
- IsUpsert
Indicating whether to insert the document if it doesn't already exist.
- Replacement
Update definition.