DuplicateKeyHandling
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Load
What the node does when the database refuses a write because it would duplicate a unique index.
public enum DuplicateKeyHandling
Inheritance Object → ValueType → Enum → DuplicateKeyHandling
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Throw | 0 | Let the exception escape, failing the pipeline. The default, and right for a write whose caller cannot mean anything sensible by a duplicate. |
| Report | 1 | Roll the write back, warn, and carry on with a flag at ApplyChangesNodeConfiguration2.DuplicateKeyTargetPath so the pipeline can answer for itself. For a write that races against another caller on a natural key. |