Class RedbSavingContext
What a save is about to do. Handed to .
public sealed class RedbSavingContext
Inheritance
Properties
AllObjects
The full collected graph: roots plus nested objects reached through Props.
public required IReadOnlyList<IRedbObject> AllObjects { get; init; }
EffectiveUser
The user the save is executed as (the effective user).
public required IRedbUser EffectiveUser { get; init; }
NewObjects
The objects this save CREATES - the ones that arrived without an id. At this point their
public required IReadOnlyList<IRedbObject> NewObjects { get; init; }
RootObjects
The objects the caller passed to SaveAsync.
public required IReadOnlyList<IRedbObject> RootObjects { get; init; }
Strategy
public required PropsSaveStrategy Strategy { get; init; }