Path: redb/redb.Tests.Integration/Models/CollectionKindModels.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/CollectionKindModels.cs ---- using redb.Core.Attributes; namespace redb.Tests.Integration.Models; // A property whose collection kind changes between two builds of one Props class (CollectionKindChangeTestsBase). As in // OlderModelModels, the first build saves under its own scheme name and the test renames that scheme to the second's. [RedbScheme("Kind change: single value, before", Name = "kind_single_before")] public class KindSingleBeforeProps { public string Tag { get; set; } = ""; public int Level { get; set; } } [RedbScheme("Kind change: single value to array", Name = "kind_single", Version = 1)] public class KindSingleToArrayProps { public string Tag { get; set; } = ""; public int[]? Level { get; set; } } [RedbScheme("Kind change: array, before", Name = "kind_array_before")] public class KindArrayBeforeProps { public string Tag { get; set; } = ""; public int[]? Items { get; set; } } [RedbScheme("Kind change: array to single value", Name = "kind_array", Version = 1)] public class KindArrayToSingleProps { public string Tag { get; set; } = ""; public int Items { get; set; } } [RedbScheme("Kind change: array, before (to dictionary)", Name = "kind_array_dict_before")] public class KindArrayDictBeforeProps { public string Tag { get; set; } = ""; public int[]? Items { get; set; } } [RedbScheme("Kind change: array to dictionary", Name = "kind_array_dict", Version = 1)] public class KindArrayToDictionaryProps { public string Tag { get; set; } = ""; public Dictionary? Items { get; set; } } [RedbScheme("Kind change: dictionary, before", Name = "kind_dict_before")] public class KindDictionaryBeforeProps { public string Tag { get; set; } = ""; public Dictionary? Items { get; set; } } [RedbScheme("Kind change: dictionary to array", Name = "kind_dict", Version = 1)] public class KindDictionaryToArrayProps { public string Tag { get; set; } = ""; public int[]? Items { get; set; } }