Path: redb/redb.Tests.Integration/Models/NullableCollectionModels.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/NullableCollectionModels.cs ---- using System; using System.Collections.Generic; using redb.Core.Attributes; namespace redb.Tests.Integration.Models; /// /// Dictionaries, arrays and lists of nullable value types, each with a null among the values, and a dictionary of a /// class whose nullable field is null in one entry: everything must read back as saved, the nulls in place. /// [RedbScheme("TestNullableCollections")] public class NullableCollectionsProps { public string Tag { get; set; } = string.Empty; public Dictionary? Ints { get; set; } public Dictionary? Longs { get; set; } public Dictionary? Decimals { get; set; } public Dictionary? Dates { get; set; } public Dictionary? Flags { get; set; } public Dictionary? Guids { get; set; } public int?[]? IntArray { get; set; } public List? LongList { get; set; } public List? DecimalList { get; set; } public bool?[]? FlagArray { get; set; } public Dictionary? Entries { get; set; } } public class NullableCollectionsEntry { public string Name { get; set; } = string.Empty; public int? Score { get; set; } public DateTime? At { get; set; } public int?[]? Marks { get; set; } }