Skip to main content

AggregatedBulkImportResult

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories

Represents the result of a bulk import operation, aggregating results from multiple bulk import operations.

public class AggregatedBulkImportResult

Inheritance ObjectAggregatedBulkImportResult

Properties

InsertedCount

Gets count of documents that were inserted during the bulk import operation.

public long InsertedCount { get; }

Property Value

Int64

DeletedCount

Gets count of documents that were deleted during the bulk import operation.

public long DeletedCount { get; }

Property Value

Int64

ModifiedCount

Gets count of documents that were modified during the bulk import operation.

public long ModifiedCount { get; }

Property Value

Int64

Constructors

AggregatedBulkImportResult(IEnumerable<IBulkImportResult>)

Initializes a new instance of the AggregatedBulkImportResult class with the provided bulk import results.

public AggregatedBulkImportResult(IEnumerable<IBulkImportResult> bulkWriteResult)

Parameters

bulkWriteResult IEnumerable<IBulkImportResult>

Methods

HasError()

Helps to determine if any of the bulk import operations encountered an error.

public bool HasError()

Returns

Boolean