Class UnitySqliteBackendDefinition
Structured-store backend writing records to an embedded SQLite database file. No external
service is needed, only the driver: consumers require the SERENITY_STRUCTURED_SQLITE
scripting define and the Microsoft.Data.Sqlite driver. Consumer-agnostic: each consumer
decides its own default file name when no asset (or a blank DatabaseFileName)
is provided.
Implements
Namespace: Serenity.StructuredPersistence.Infrastructure.Settings
Assembly: Serenity.UnityStructuredPersistence.Infrastructure.dll
Syntax
public class UnitySqliteBackendDefinition : UnityStructuredBackendDefinition, IFoundationSettings
Constructors
UnitySqliteBackendDefinition()
Declaration
public UnitySqliteBackendDefinition()
Fields
DatabaseFileName
Declaration
public string DatabaseFileName
Field Value
| Type | Description |
|---|---|
| string | File name of the embedded SQLite database, resolved under UnityEngine.Application.persistentDataPath. Blank lets the consumer apply its own default (the structured log sink uses "logs.db"). |