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
| Name | Value | Description |
|---|---|---|
| InsertOnly | 0 | Insert 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. |
| Upsert | 1 | Insert new entities or replace existing ones based on their identifiers. |