Class BulkWriteUpdateOneModel<TDocument>
Represents update one operation in the scope of BulkWrite operation.
public sealed class BulkWriteUpdateOneModel<TDocument> : BulkWriteModel
Type Parameters
TDocument
The type of the document.
- Inheritance
-
BulkWriteUpdateOneModel<TDocument>
- Inherited Members
Constructors
- BulkWriteUpdateOneModel(CollectionNamespace, FilterDefinition<TDocument>, UpdateDefinition<TDocument>, Collation, BsonValue, bool, IEnumerable<ArrayFilterDefinition>)
Initializes a new instance of the BulkWriteUpdateOneModel<TDocument> class.
- BulkWriteUpdateOneModel(CollectionNamespace, FilterDefinition<TDocument>, UpdateDefinition<TDocument>, SortDefinition<TDocument>, Collation, BsonValue, bool, IEnumerable<ArrayFilterDefinition>)
Initializes a new instance of the BulkWriteUpdateOneModel<TDocument> class.
- BulkWriteUpdateOneModel(string, FilterDefinition<TDocument>, UpdateDefinition<TDocument>, Collation, BsonValue, bool, IEnumerable<ArrayFilterDefinition>)
Initializes a new instance of the BulkWriteUpdateOneModel<TDocument> class.
- BulkWriteUpdateOneModel(string, FilterDefinition<TDocument>, UpdateDefinition<TDocument>, SortDefinition<TDocument>, Collation, BsonValue, bool, IEnumerable<ArrayFilterDefinition>)
Initializes a new instance of the BulkWriteUpdateOneModel<TDocument> class.
Properties
- ArrayFilters
A set of filters specifying to which array elements an update should apply.
- 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.
- Sort
The sort definition to use.
- Update
Update definition.