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
Christopher Jolly 629398c76b Set CanExecuteQueryString to false. When running tests, if it is set to true, the Query Asserter will also try to create a query string from the IQueryable. While most cases are fine, the problem comes in when there are parameters. Creating the query string declares the parameters and values at the beginning of the query and the DbCommand is set up with no parameters. While this can work in Sql Server (see the DECLARE keyword), this is not supported with Jet.
The Query Asserter already runs the CreateDbCommand on the IQueryable which creates the DbCommand with the parameters all set up. Creating the query string and running that as a separate command is not really necessary.

By the looks of it this only affects the test system which specifically creates a query string from an IQueryable and creates a new DbCommand with that as the command text. It doesn't seem to affect anywhere else
2 years ago
docs Rename some extension methods so that it doesn't interfere with other providers (namely sql server) 3 years ago
src Translate the Atan2 function 2 years ago
test Set CanExecuteQueryString to false. When running tests, if it is set to true, the Query Asserter will also try to create a query string from the IQueryable. While most cases are fine, the problem comes in when there are parameters. Creating the query string declares the parameters and values at the beginning of the query and the DbCommand is set up with no parameters. While this can work in Sql Server (see the DECLARE keyword), this is not supported with Jet. 2 years ago
tools Remove obsolete files. 6 years ago
.gitattributes First compile commit 8 years ago
.gitignore Fix data and test infrastructure and scaffolding (#82) 5 years ago
Dependencies.targets Update dependencies 2 years ago
Development.props.sample Fix versioning and projects. 5 years ago
Directory.Build.props merge fixes from upstream 3 years ago
Directory.Build.targets Fix versioning and projects. 5 years ago
EFCore.Jet.sln update tests to build 3 years ago
Key.snk Fix versioning and projects. 5 years ago
LICENSE Initial commit 8 years ago
NuGet.Config Update and fix dependencies. 6 years ago
QueryBaseline.cs Fixed tests 7 years ago
SkipMessages.txt Fix tests (especially from `SimpleQueryJetTest`). 6 years ago
Version.props v7.0.2 3 years ago
azure-pipelines.yml Update azure-pipelines.yml 3 years ago
global.json Update to EF 7 GA version 3 years ago
version.xml NuGet setup 8 years ago

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).

Compatibility Matrix

EntityFrameworkCore.Jet Version EntityFrameworkCore Version .NET Core
7.0.x 7.0.x 6.0.x/7.0.x
6.0.x 6.0.x 6.0.x

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>

Fluent API

In order to be able to be shared with SqlServer (and other providers) the names of some of the Fluent API methods have been made specific to Jet.

  • UseIdentityColumn -> UseJetIdentityColumn
  • UseIdentityColumns -> UseJetIdentityColumns

More may be added in the future

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.