Access databases · modern .NET
EntityFrameworkCore.Jet & LibRed
Your Access data.
Your next chapter.
Bring Entity Framework Core to your .mdb and .accdb files. Use Microsoft’s Jet/ACE engine on Windows, or LibRed, a managed engine that runs anywhere .NET does.
JET 10.0.1 STABLE / 11.0.0-beta.1 PREVIEW FOR EF CORE 11
TWO PATHS. ONE FILE FORMAT.01 / 02
Your .NET application
↓
JetWINDOWS · MICROSOFT ENGINEEF Core → ODBC / OLE DB
→ Microsoft ACE
LibRedANY OS · MANAGEDEF Core · ADO.NET · linq2db
→ LibRed engine
↓ ↓
.mdb .accdbTHE ACCESS FILE FORMAT
EXISTING FILES. NEW POSSIBILITIES.CIRRUSRED /
EF CoreLINQ, change tracking and migrations
.mdb / .accdbRead and write Access files
Open sourceBuilt in the open on GitHub
Choose your path
Same familiar files.
Two different engines.
Choose by platform, by what you can install, and by how closely you need Microsoft’s own behaviour.
01 / THE MICROSOFT ENGINEWINDOWS
EntityFrameworkCore.Jet
An EF Core provider over the installed Microsoft Access Database Engine. A natural fit for Windows applications already using Access.
- Runs on
- Windows
- Requires
- An Access ODBC or OLE DB driver, matching your process’s x86/x64
- SQL
- Jet / ACE, with the provider’s workarounds
- Releases
- 10.0.1 stable · 11.0.0-beta.1 preview
Get started with Jet →02 / A NEW MANAGED ENGINECROSS-PLATFORM
LibRed
A from-scratch managed engine that reads and writes the file format itself, on Linux, macOS, Windows and ARM64, with no Access driver.
- Runs on
- Windows, Linux, macOS · x64 and ARM64
- Requires
- .NET only · no ACE, no COM, no bitness matching
- SQL
- Access SQL plus standard SQL ACE lacks
- Status
- 11.0.0-beta.1 preview · one writer at a time
Meet LibRed →Start with Jet
Keep the database.
Move your code forward.
Install the package for OLE DB or ODBC, configure your DbContext, and query through EF Core. The driver and your application must both be x86 or both be x64.
JET / OLE DB · C#
// dotnet add package EntityFrameworkCore.Jet.OleDb
using Microsoft.EntityFrameworkCore;
optionsBuilder.UseJetOleDb(
@"Provider=Microsoft.ACE.OLEDB.12.0;
Data Source=C:\Data\Blogging.accdb");
// Query through your DbContext
var blogs = await context.Blogs
.Where(blog => blog.Id > 10)
.ToListAsync();Know the boundaries
A familiar API.
A distinctive database.
Access has its own types and SQL rules. Knowing them helps you choose the right engine and write predictable queries.
01The engine shapes the query.
Jet has TOP but no OFFSET, and TOP takes no parameter. The provider rewrites Skip and Take; other LINQ shapes depend on what Jet SQL can express.
02The file shapes the data.
Access has its own dates, Currency and Yes/No conventions, inherited from OLE Automation. Check the type mappings before bringing over a model from another database.
03LibRed opens another path.
Window functions, APPLY, FULL OUTER JOIN and standard OFFSET/FETCH paging run on LibRed’s extended SQL. Mind its single-writer model.
Built under CirrusRed
An old format. An open future.
Explore the code, ask a question, or help shape what comes next.