Entity Framework Core provider for Access database
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Cédric Luthi 83c29e4c43 Introduce a new typed JetConnectionStringBuilder
This makes it easier to use than the extensions (EntityFrameworkCore.Jet.Data.DbConnectionStringBuilderExtensions) with Get/Set methods.

With the new `JetConnectionStringBuilder` class:

```csharp
var csb = new JetConnectionStringBuilder(DataAccessProviderType.OleDb)
{
    Provider = "Microsoft.ACE.OLEDB.12.0",
    DataSource = @"C:\myFolder\myAccessFile.accdb",
    DatabasePassword = "hunter2",
};
var connectionString = csb.ConnectionString;
```

Without the new `JetConnectionStringBuilder` class:

```csharp
var csb = new OleDbConnectionStringBuilder();
csb.SetProvider("Microsoft.ACE.OLEDB.12.0");
csb.SetDataSource(@"C:\myFolder\myAccessFile.accdb");
csb.SetDatabasePassword("hunter2");
var connectionString = csb.ConnectionString;
```
3 years ago
docs
src Introduce a new typed JetConnectionStringBuilder 3 years ago
test Introduce a new typed JetConnectionStringBuilder 3 years ago
tools
.gitattributes
.gitignore
Dependencies.targets update Dependencies 3 years ago
Development.props.sample
Directory.Build.props
Directory.Build.targets
EFCore.Jet.sln
Key.snk
LICENSE
NuGet.Config
QueryBaseline.cs
SkipMessages.txt
Version.props Set RC 1 3 years ago
azure-pipelines.yml
global.json
version.xml

docs/README.md

EntityFrameworkCore.Jet

Build Status NuGet Nuget (with prereleases)

EntityFrameworkCore.Jet is an Entity Framework Core provider for Microsoft Jet/ACE databases (supporting the Microsoft Access database file formats MDB and ACCDB).

The provider is .NET Standard 2.0 compatible, so it can be used with .NET (Core) 2.0+ and .NET Framework 4.6.1+. The major version corresponds to the major version of EF Core (i.e. EFCore.Jet 3.x is compatible with EF Core 3.y). It runs on Windows operating systems only and can be used with either ODBC or OLE DB together with their respective Access Database driver/provider.

Packages

Official Releases

All official releases are available on nuget.org.

Daily Builds

To use the latest daily builds from our Azure DevOps feed, add a NuGet.config file to your solution root with the following content, and enable prereleases:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="efcore.jet" value="https://bubibubi.pkgs.visualstudio.com/EntityFrameworkCore.Jet/_packaging/public/nuget/v3/index.json" />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>

Further information

More information can be found on our Wiki.

Questions

Any questions about how to use EntityFrameworkCore.Jet can be ask on StackOverflow using the jet-ef-provider and entity-framework-core tags.