Table of Contents

Class CloudBatchCreateOperation

Namespace
Excalibur.Data.CloudNative
Assembly
Excalibur.Data.Abstractions.dll

Batch operation that creates a document, failing if one already exists at the id.

public sealed class CloudBatchCreateOperation : ICloudBatchDocumentOperation, ICloudBatchOperation
Inheritance
CloudBatchCreateOperation
Implements
Inherited Members

Constructors

CloudBatchCreateOperation(string, object)

Batch operation that creates a document, failing if one already exists at the id.

public CloudBatchCreateOperation(string documentId, object document)

Parameters

documentId string

The document id to create.

document object

The document to write.

Properties

Document

Gets the document the operation writes.

public object Document { get; }

Property Value

object

DocumentId

Gets the document ID for the operation.

public string DocumentId { get; }

Property Value

string

OperationType

Gets the operation type.

public CloudBatchOperationType OperationType { get; }

Property Value

CloudBatchOperationType