Which one do I need?
Both read and write the same Microsoft Access files. They differ in what does the work.
| EntityFrameworkCore.Jet | LibRed | |
|---|---|---|
| Engine | Microsoft’s Access Database Engine (ACE), through ODBC or OLE DB | LibRed’s own managed engine |
| Platforms | Windows only | Windows, Linux, macOS, x64 and ARM64 |
| Install on the machine | An ACE driver, matching your process bitness (x86/x64) | Nothing |
| Ways in | EF Core | EF Core, ADO.NET, linq2db, LINQPad |
| SQL | Jet SQL, with ACE’s limits | Jet SQL, plus standard SQL that ACE has no syntax for |
| Concurrent writers | Several processes, through ACE’s locking | One writer; see Concurrency |
Choose EntityFrameworkCore.Jet when
Section titled “Choose EntityFrameworkCore.Jet when”- the database is shared with people using Access at the same time;
- you need ACE’s exact behaviour, refusals and quirks included;
- you are already on Windows with ACE installed.
Choose LibRed when
Section titled “Choose LibRed when”- the code runs on Linux, macOS, in a container, or on ARM64;
- you can’t install, or don’t want to depend on, an Access driver;
- you want queries ACE can’t express, such as
OFFSET/FETCHpaging, window functions,APPLYandFULL OUTER JOIN; - you want to use the database without EF Core, through ADO.NET or linq2db.
You don’t have to choose once and for all. LibRed’s EF Core provider has a compatible mode that generates the same SQL the Jet provider does, so the same statements also run against ACE.