Class RedbSavedContext

Assembly: redb.Core.dll

What a save has done. Handed to .

public sealed class RedbSavedContext

Inheritance

Object→RedbSavedContext

Properties

AllObjects

public required IReadOnlyList<IRedbObject> AllObjects { get; init; }

Changes

Value-level changes the diff actually applied — ChangeTracking only (null under

public IReadOnlyList<RedbValueChange>? Changes { get; init; }

EffectiveUser

public required IRedbUser EffectiveUser { get; init; }

NewObjectIds

Final ids of the objects this save created ().

public required IReadOnlySet<long> NewObjectIds { get; init; }

RootObjects

public required IReadOnlyList<IRedbObject> RootObjects { get; init; }

SavedIds

Ids of the root objects, in the order the caller passed them.

public required IReadOnlyList<long> SavedIds { get; init; }

Strategy

public required PropsSaveStrategy Strategy { get; init; }

UnchangedByHash

Ids of existing objects the hash shortcut (F1) excluded from the value pipeline - their

public IReadOnlySet<long>? UnchangedByHash { get; init; }