SQLite persistence for TCSystem.MetaData images, locations, tags, people, faces, and processing state. Database
operations acquire pooled SQLite instances internally to serialize access safely.
dotnet add package TCSystem.MetaDataDB- Read-only, write-only, and read/write interfaces
- SQLite schema creation and version conversion
- Metadata, file, location, tag, person, and face queries
- Thread-safe internal connection-instance pooling
- Add/change/remove notifications
Create database interfaces through TCSystem.MetaDataDB.Factory and always release them with the matching Destroy
overload:
IDB2 db = null;
try
{
db = Factory.CreateReadWrite(databasePath);
Image image = db.GetMetaData(fileName);
}
finally
{
Factory.Destroy(ref db);
}CreateReadWrite creates a database when the path does not exist. CreateRead opens an existing database in read-only
mode.
Repository-wide prerequisites, target frameworks, dependencies, build, test, coverage, fixture, and API-documentation instructions are maintained in the main README.