Table of Contents

Class MongoInsertOptions

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents the options to use for an Insert or InsertBatch operation.

public class MongoInsertOptions
Inheritance
MongoInsertOptions
Inherited Members
Extension Methods

Constructors

MongoInsertOptions()

Initializes a new instance of the MongoInsertOptions class.

MongoInsertOptions(MongoCollection)

Initializes a new instance of the MongoInsertOptions class.

Properties

BypassDocumentValidation

Gets or sets a value indicating whether to bypass document validation.

Flags

Gets or sets the insert flags.

WriteConcern

Gets or sets the WriteConcern to use for the Insert.