Path: redb/redb.Tests.Integration/Models/SchemaLockSyncProbeModels.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/SchemaLockSyncProbeModels.cs
----
using redb.Core.Attributes;
namespace redb.Tests.Integration.Models;
///
/// A scheme the nodes of the scheme sync race test create and extend together (see SchemeSyncRace). Its name is
/// its own: the test deletes the scheme between rounds.
///
[RedbScheme(Name = "schema_lock_sync_probe")]
public class SchemaLockSyncProbeProps
{
public string Title { get; set; } = "";
public int Count { get; set; }
public string? Note { get; set; }
public SchemaLockSyncProbePart? Part { get; set; }
}
/// A nested class: its structures hang under a parent, as most real schemes have.
public class SchemaLockSyncProbePart
{
public string? City { get; set; }
public decimal Weight { get; set; }
}