Zum Hauptinhalt springen

BulkInsertStrategies

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories

Defines options for bulk insert operations.

public enum BulkInsertStrategies

Inheritance Object → ValueType → Enum → BulkInsertStrategies
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
InsertOnly0Insert new entities only, do not replace existing ones. In the MongoDB implementation an entity that exists only as an ARCHIVED document with the same identifier is not an existing one: it is replaced and active again. Other implementations (for example the local directory repository) still treat every existing identifier as taken.
Upsert1Insert new entities or replace existing ones based on their identifiers.