Enum ShelfIdentificationStrategy
- Namespace
- XENBIT.ResQueServe.Abstractions.DataStructures
- Assembly
- RQS.Abstractions.dll
Specifies how to handle origin IDs when identifying and comparing existing entities in a batch operation.
[JsonConverter(typeof(JsonStringEnumConverter<ShelfIdentificationStrategy>))]
public enum ShelfIdentificationStrategy
- Extension Methods
Fields
Disable = 4Will not compare any provided ids with existing ids. All entities will be handled as "new".
OriginIdOnly = 0Always use the origin ID for entity identification. Fails if origin ID is not provided or entity is not found.
OriginIdOrInternalId = 1Use the origin ID if provided, otherwise fall back to internal ID.
OriginIdWithFullFallback = 3Use the origin ID if provided and entity exists, otherwise fall back to internal ID. Combines both null check and existence check fallback behavior.
OriginIdWithInternalIdFallback = 2Use the origin ID for lookup, but fall back to internal ID if entity is not found.