Table of Contents

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 = 4

Will not compare any provided ids with existing ids. All entities will be handled as "new".

OriginIdOnly = 0

Always use the origin ID for entity identification. Fails if origin ID is not provided or entity is not found.

OriginIdOrInternalId = 1

Use the origin ID if provided, otherwise fall back to internal ID.

OriginIdWithFullFallback = 3

Use the origin ID if provided and entity exists, otherwise fall back to internal ID. Combines both null check and existence check fallback behavior.

OriginIdWithInternalIdFallback = 2

Use the origin ID for lookup, but fall back to internal ID if entity is not found.