Skip to main content

Namespace mobisim.Database

Classes​

Singleton gateway to the SQLite database, providing lazily created typed repositories for each entity type used in the application.

SQLite implementation of IDatabaseContext for use in Unity. Supports both persistent and in-memory databases depending on the platform.

A concrete implementation of IRepository that uses an IDatabaseContext to persist and retrieve entities. Assumes that entities implement IPrimaryKey with an integer key.

Interfaces​

Represents a generic database context that provides CRUD operations.

Defines a contract for entities that have a primary key of a specific type.

Generic repository interface defining basic CRUD operations for a specific entity type.