Table of Contents

Property AssignIdOnInsert

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

AssignIdOnInsert

Gets or sets whether the driver should assign a value to empty Ids on Insert.

public static bool AssignIdOnInsert { get; set; }

Property Value

bool