logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class DatabaseDriverManifests

    The shipped manifests: what each StructuredPersistence backend needs on disk, at the exact versions verified against this repository.

    Inheritance
    object
    DatabaseDriverManifests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Drivers
    Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
    Syntax
    public static class DatabaseDriverManifests
    Remarks

    Static C# rather than a ScriptableObject or a JSON file. Anything authored under Assets/Serenity has to be registered as Addressable, which is machinery this data does not need — nothing loads it at runtime — and a compiler-checked table cannot drift into an unparseable state the way a hand-edited asset can.

    Versions are exact rather than minimums because only exact versions were verified. A minimum would claim a range nobody installed. A newer package usually works and the inspector reports a version difference as information, not as a failure.

    Dependency attribution is resolved, not guessed: each graph below came from restoring the top-level package at its pinned version against netstandard2.1 and reading dotnet list package --include-transitive. Packages that the graph lists but which Unity's own profile already provides — System.Buffers, System.Memory, System.Numerics.Vectors, System.Threading.Tasks.Extensions — are deliberately absent: they are not part of the working set anyone had to install.

    Fields

    UnspecifiedTargetFramework

    Recorded when a package's assembly carries no TargetFrameworkAttribute at all, so claiming a specific one would be inventing it.

    Declaration
    public const string UnspecifiedTargetFramework = "unspecified"
    Field Value
    Type Description
    string

    Properties

    All

    Declaration
    public static IReadOnlyList<DatabaseDriverManifest> All { get; }
    Property Value
    Type Description
    IReadOnlyList<DatabaseDriverManifest>

    Every manifest, in the order the provider folders are listed.

    Mongo

    Declaration
    public static DatabaseDriverManifest Mongo { get; }
    Property Value
    Type Description
    DatabaseDriverManifest

    MongoDB.Driver and its family. Asking for a Mongo driver is what drags an AWS client into a game project — AWSSDK.Core backs Mongo's AWS authentication mechanism.

    MySql

    Declaration
    public static DatabaseDriverManifest MySql { get; }
    Property Value
    Type Description
    DatabaseDriverManifest

    MySqlConnector, which pulls in far less than the others.

    Postgres

    Declaration
    public static DatabaseDriverManifest Postgres { get; }
    Property Value
    Type Description
    DatabaseDriverManifest

    Npgsql and everything it pulls in.

    Sqlite

    Declaration
    public static DatabaseDriverManifest Sqlite { get; }
    Property Value
    Type Description
    DatabaseDriverManifest

    Microsoft.Data.Sqlite. The only backend needing no server and the only one needing a native binary, which is also the only requirement here that fails at runtime rather than at compile time.

    In this article
    © 2026 Serenity. All Rights Reserved