Click or drag to resize

WriteModelType Enumeration

The type of a write model.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public enum WriteModelType
Members
  Member nameValueDescription
InsertOne0 A model to insert a single document.
DeleteOne1 A model to delete a single document.
DeleteMany2 A model to delete multiple documents.
ReplaceOne3 A model to replace a single document.
UpdateOne4 A model to update a single document.
UpdateMany5 A model to update many documents.
See Also