Namespace Qavren.Edge.Sqlite
Namespaces
Classes
- EdgeDatabase
One physical database. Connection strings are always built through SqliteConnectionStringBuilder from this single place: Microsoft.Data.Sqlite keys its pool groups on the raw connection-string text, so two textually different but semantically identical strings fragment the pool and hold duplicate keyed handles open.
- EdgeMigrator
Startup task order 100. Reads
PRAGMA user_version, runs each pending migration in its own transaction, and setsuser_versionafter each. A failure stops the run and raises EdgeMigrationException; migrations already applied stay applied.
- SqliteCheckResult
The result of CheckAsync(CancellationToken).
- SqliteConnectionExtensions
Small, visible-SQL helpers. Not an ORM: EF Core, sqlite-net-pcl and Dapper remain the recommended object-mapping layers and all work unchanged on top of this provider.
- SqliteDatabaseInfo
What one physical database reports about itself.
- SqliteEdgeBuilderExtensions
Registers SQLite databases and their migrations on the Qavren.Edge builder.
- SqliteKey
An encryption key for a SQLCipher database, in the form Microsoft.Data.Sqlite can carry.
- SqliteNativeInfo
What the native library reports about itself once installed.
- SqliteOptions
Per-database configuration. Bound as a named
IOptionsinstance keyed by database name.
Interfaces
- IEdgeDatabase
One physical database, resolved from DI either unkeyed or by name.
- IEdgeMigration
A forward-only schema change. Registration is explicit and AOT-safe: there is no assembly scanning, and there are no down-migrations.
- ISqliteNativeProvider
Implemented by
Qavren.Edge.Sqlite.NativeandQavren.Edge.Sqlite.Native.Cipher. Exactly one must be registered; zero or two is EdgeConfigurationException.
Enums
Delegates
- SqliteKeyProvider
Resolves a key lazily, e.g. from platform secure storage.