Class RedbUnloadedReferenceException
Thrown when a reference whose properties were never loaded is saved directly: the object has an id and no loaded
properties - a hand-written new RedbObject<T> { id = x }, a stub whose lazy load the getter did not
keep (a shared instance inside a transaction). It names another object; it is not that object. Saving it saved
whatever a fresh load returned, and the caller's edits were lost silently (review after 4.0.0). Reading the
Props of such a reference still answers null: plain System.Text.Json serialization of a graph reads the
getter, and an exception there would fail every API response carrying a hand-made reference.
public class RedbUnloadedReferenceException : InvalidOperationException, ISerializable