MongoDB · Types · MongoDB's own types

ArxMongoWriteOptions

Definition

Namespace
ARX.SDK.MongoDb.Services
Package
ARX.SDK.MongoDb
C#
public sealed class ArxMongoWriteOptions

Options for MongoDB writes of several documents.

Properties

  • bool AllowPartial { get; init; }

    False (the default): a write of several documents is all or nothing, in a transaction, and on a standalone server (no transactions) it is refused with ARX8001. True: on a standalone server the documents are written in order without a transaction, and a failure leaves the ones before it stored. On a replica set the write is still all or nothing.