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 Object → AggregatedBulkImportResult
Properties
InsertedCount
Gets count of documents that were inserted during the bulk import operation.
public long InsertedCount { get; }
Property Value
DeletedCount
Gets count of documents that were deleted during the bulk import operation.
public long DeletedCount { get; }
Property Value
ModifiedCount
Gets count of documents that were modified during the bulk import operation.
public long ModifiedCount { get; }
Property Value
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()