Path: redb/redb.Tests.Integration/Models/ReferenceListProbeModels.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Tests.Integration/Models/ReferenceListProbeModels.cs ---- using redb.Core.Attributes; using redb.Core.Models.Entities; namespace redb.Tests.Integration.Models; /// /// A list of references (List<RedbObject<T>>, not an array). The save collected the elements of arrays /// only: references by id in a list got no hash, a new object in a list was never saved, and an edit to a loaded one /// was lost. Synced by the tests that use it. /// [RedbScheme(Name = "ReferenceListProbe")] public class ReferenceListProbeProps { public string? Label { get; set; } public List>? Items { get; set; } } /// /// A reference inside a class that is a dictionary value. The graph collector walks single references, lists, arrays and /// dictionaries of references, classes and arrays of classes, but not the classes of a dictionary: a new object here /// reached the value pass with no id and was saved there on its own. Synced by the tests that use it. /// [RedbScheme(Name = "ReferenceDictProbe")] public class ReferenceDictProbeProps { public string? Label { get; set; } public Dictionary? Holders { get; set; } } public class ReferenceHolder { public string? Note { get; set; } public RedbObject? Target { get; set; } }