logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityStructuredBackendDefinition

    Abstract base for shareable, consumer-agnostic server connection assets used by structured persistence backends. A concrete asset (Http/Postgres/MySql/Mongo) holds ONLY connection configuration — no consumer-specific fields — so the same server asset can be referenced by any structured-store consumer (structured logging today, leaderboard later).

    Inheritance
    object
    UnityStructuredBackendDefinition
    UnityDatabaseBackendDefinition
    UnityHttpBackendDefinition
    UnityLocalFileBackendDefinition
    UnityPlayerPrefsBackendDefinition
    UnitySqliteBackendDefinition
    Implements
    IFoundationSettings
    Namespace: Serenity.StructuredPersistence.Infrastructure.Settings
    Assembly: Serenity.UnityStructuredPersistence.Infrastructure.dll
    Syntax
    public abstract class UnityStructuredBackendDefinition : ScriptableObject, IFoundationSettings
    Remarks

    Carries the shared IFoundationSettings identity contract (Id/Guid) so every concrete backend asset is a foundation settings asset without redeclaring the fields. No connection-configuration field is shared by every server kind, so each such field still lives on the subclass — or intermediate base — that actually consumes it. These definitions are pure data; each consumer's factory constructs the actual store.

    Constructors

    UnityStructuredBackendDefinition()

    Declaration
    protected UnityStructuredBackendDefinition()

    Fields

    Guid

    Declaration
    public string Guid
    Field Value
    Type Description
    string

    GUID for this backend asset.

    Id

    Declaration
    public string Id
    Field Value
    Type Description
    string

    Unique identifier for this backend asset.

    Implements

    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved