logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    UnityStructuredBackendDefinition
    UnitySqliteBackendDefinition
    Implements
    IFoundationSettings
    Inherited Members
    UnityStructuredBackendDefinition.Id
    UnityStructuredBackendDefinition.Guid
    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").

    Implements

    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved