Namespace Serenity.StructuredPersistence.Infrastructure.Decorators
Classes
EnsureSchemaOnFirstUseStructuredStore
IStructuredStore decorator that lazily calls the inner store's EnsureSchemaAsync(StructuredTableSchema, CancellationToken) for a fixed StructuredTableSchema exactly once before the first real operation, then forwards everything verbatim. Built for embedded backends whose storage lives on the player's device (e.g. the SQLite leaderboard backend): no administrator exists there to provision the schema manually, so the store must create its own table on first use. Server backends keep their manual-provisioning contract and are never wrapped.