Skip to content

Features and packages

LibRed is a from-scratch, fully managed implementation of the Microsoft Jet/ACE database engine. It reads and writes .mdb and .accdb files directly, with no ODBC, OLE DB, DAO or ADOX. So you don’t need Windows, you don’t need an installed Access driver, and you don’t need to match your process architecture to one.

CI backs the cross-platform claim: on every change, LibRed’s engine, file-format and EF Core specification suites run on Linux, Windows, macOS, ubuntu-arm and windows-arm, with no Access engine installed on any of them. A separate set of suites does install ACE, and uses it to check LibRed’s output against Microsoft’s engine.

  • Reads every page type, the Access column types including Memo/OLE long values, Currency, Decimal, GUID and the ACE 16/17 BIGINT and DATETIME2, and every index. A column type LibRed doesn’t model reads as a placeholder rather than failing the open.
  • Writes rows with full index B-tree maintenance, UPDATE and DELETE in place, and database files Access opens cleanly.
  • Creates databases from nothing, without DAO or a template file, in any format from Jet 4 through ACE 17.
  • Runs SQL end to end, covering the Access DDL and DML plus standard SQL that ACE has no syntax for. See the SQL reference.
  • Stored queries: writes views and procedures the way Access does, so Access opens and runs them, and reads back the stored queries Access wrote.
  • Constraints: primary keys, unique indexes, foreign keys with cascades, DEFAULT and CHECK, enforced by LibRed and also honoured by Access.
  • Encryption: reads and writes every scheme the format has: Agile, Office Standard, RC4 and the legacy Jet 4 password.
  • Text collation: index keys use Access’s own sort orders, General and General Legacy plus the locale orders (French, German, Czech, Hungarian, the CJK orders, …), so an index LibRed writes is one Access can use.
Package What it is
EntityFrameworkCore.LibRed The EF Core provider: UseLibRed.
LibRed.Ado The ADO.NET provider: LibRedConnection, LibRedCommand, LibRedFactory.
LibRed.Engine The query planner and executor.
LibRed.Sql The SQL front end: parser, AST, binder.
LibRed.Core The .mdb/.accdb file-format reader and writer.

The packages are in preview, so add them with --prerelease. LibRed.Core, LibRed.Sql, LibRed.Engine and LibRed.Ado target .NET 10 and .NET 11. The EF Core provider targets .NET 11, as EF Core 11 does.