Class UpdateManyModel<TDocument>
Model for updating many documents.
Type Parameters
TDocument
The type of the document.
- Inheritance
-
Write
Model <TDocument>UpdateManyModel<TDocument>
- Inherited Members
Constructors
- UpdateManyModel(FilterDefinition<TDocument>, UpdateDefinition<TDocument>)
Initializes a new instance of the UpdateManyModel<TDocument> class.
Properties
- Array
Filters Gets or sets the array filters.
- Collation
Gets or sets the collation.
- Filter
Gets the filter.
- Hint
Gets or sets the hint.
- Is
Upsert Gets or sets a value indicating whether to insert the document if it doesn't already exist.
- Model
Type Gets the type of the model.
- Update
Gets the update.
Methods
- Throw
IfNot Valid() Validate model.