Member Junction
    Preparing search index...

    Options used when deleting an entity record. Controls whether associated actions and AI operations should be executed during the deletion process.

    Index

    Constructors

    Properties

    GraphVisited?: Set<string>

    Cycle guard for the delete graph. Delete-path counterpart of EntitySaveOptions.GraphVisited; see that member for why it is carried on the options.

    IsParentEntityDelete?: boolean = false

    When true, this entity is being deleted as part of an IS-A parent chain initiated by a child entity. The child deletes itself first (FK constraint), then cascades deletion to its parent.

    OriginatingEntityActionIDs?: string[]

    IDs of the Entity Actions that caused this delete — set by code deleting on behalf of one, so those actions are not re-fired by this delete's after-delete hooks.

    EntitySaveOptions.OriginatingEntityActionIDs for the full rationale.

    ReplayOnly?: boolean = false

    When set to true, the save operation will BYPASS Validate() and the actual process of deleting the record from the database but WILL invoke any associated actions (AI Actions, Entity Actions, etc...) Subclasses can also override the Delete() method to provide custom logic that will be invoked when ReplayOnly is set to true

    SkipEntityActions?: boolean = false

    If set to true, any Entity Actions associated with invocation types of Delete will be skipped during the delete operation

    SkipEntityAIActions?: boolean = false

    If set to true, an AI actions associated with the entity will be skipped during the delete operation

    SkipRecordChanges?: boolean = false

    When true, the delete skips writing its Record Change (audit) row even when the entity has TrackRecordChanges on. See EntitySaveOptions.SkipRecordChanges — same rationale, same scoping: set by high-volume machine writers (integration sync), never by interactive saves.