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.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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