Class InsertOneOptions

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Options for inserting one document.

public sealed class InsertOneOptions

Inheritance

object

InsertOneOptions

Inherited Members

object.Equals(object)

object.Equals(object, object)

object.GetHashCode()

object.GetType()

object.ReferenceEquals(object, object)

object.ToString()

Properties

BypassDocumentValidation

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

Comment

Gets or sets the comment.