Member Junction
    Preparing search index...

    Interface RestoreContext

    Context describing a restore operation in progress on a BaseEntity.

    When set on an entity instance via BaseEntity.SetRestoreContext prior to calling Save(), the data provider will write the resulting RecordChange row with Source='Restore' and the lineage columns populated, producing an auditable chain back to the historical change that was restored.

    interface RestoreContext {
        Reason: string;
        SourceChangeID: string;
    }
    Index

    Properties

    Reason: string

    Optional user-entered explanation for the restore. Persisted to RecordChange.RestoreReason. NULL when the user did not enter one.

    SourceChangeID: string

    ID of the historical RecordChange row whose state is being restored. Persisted to RecordChange.RestoredFromID on the new change row.