FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TCSystemCS/MetaDataDB at develop · tgoessler/TCSystemCS · GitHub

Repository navigation

Latest commit

 

History

History

README.md

TCSystem.MetaDataDB

SQLite persistence for TCSystem.MetaData images, locations, tags, people, faces, and processing state. Database operations acquire pooled SQLite instances internally to serialize access safely.

Installation

dotnet add package TCSystem.MetaDataDB

Features

  • 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

Lifecycle

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 Development

Repository-wide prerequisites, target frameworks, dependencies, build, test, coverage, fixture, and API-documentation instructions are maintained in the main README.


Back | FazBrowse Home | New Git URL