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 7b6ee168e2
Properly read and write UTC values for DateTimeOffset (#188)
MS Access does not have a DateTimeOffset data type so the value should be converted to UTC and saved as a normal date/time

This fixes 2 things

Regression in 7.0 series where the DateTimeOffset was being written as Local time and not UTC.
When reading the value and converting from a DateTime, the Offset value ended up being implicitly set to the systems local time zone offset. A DateTimeOffset from a UTC value should actually have an offset of 0. This has been wrong since the 2.2 series
2 years ago
.docker Add docker files for testing. (#153) 2 years ago
.github Update push.yml (#187) 2 years ago
docs Add compatibility info for 8.0 series (#181) 2 years ago
src Properly read and write UTC values for DateTimeOffset (#188) 2 years ago
test Properly read and write UTC values for DateTimeOffset (#188) 2 years ago
tools
.dockerignore Add docker files for testing. (#153) 2 years ago
.gitattributes
.gitignore Add docker files for testing. (#153) 2 years ago
Dependencies.targets Update dependencies to .Net/EF Core 8 RTM (#176) 2 years ago
Development.props.sample Fix and update dependencies and project files. (#144) 2 years ago
Directory.Build.props Update project in regards to new organization and CI. (#160) 2 years ago
Directory.Build.targets Fix versioning and projects. 5 years ago
EFCore.Jet.sln Revert pull-in of GearsOfWar related classes and remove constraint (#145) 2 years ago
Key.snk Fix versioning and projects. 5 years ago
LICENSE Move license from Apache-2.0 to MIT. (#156) 2 years ago
NuGet.Config Update project in regards to new organization and CI. (#160) 2 years ago
QueryBaseline.cs
SkipMessages.txt Fix tests (especially from `SimpleQueryJetTest`). 6 years ago
Version.props Properly read and write UTC values for DateTimeOffset (#188) 2 years ago
global.json Update dependencies to .Net/EF Core 8 RTM (#176) 2 years ago

docs/README.md

EntityFrameworkCore.Jet

Build status Stable release feed for official builds Nightly build feed for release builds Nightly build feed for debugging enabled builds

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 Notes
8.0.x 8.0.x 8.0.x Alpha 2 onwards is compatible with EF Core RTM
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

NuGet Feeds

Official Releases

All official releases are available on nuget.org.

Daily Builds

To use the latest daily builds, add a NuGet.config file to your solution root, add the daily feeds you are interested in and enable prereleases:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="efcorejet-daily" value="https://www.myget.org/F/cirrusred/api/v3/index.json" />
    <add key="efcorejet-daily-debug" value="https://www.myget.org/F/cirrusred-debug/api/v3/index.json" />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>

There are two daily build feeds available, one with (optimized) Release configuration builds and one with (unoptimized) Debug configuration builds. All packages use SourceLink.

Fluent API

In order to simplify writing code for more than just one provider, some Fluent API method names have been made specific to Jet. Examples are:

  • UseIdentityColumn -> UseJetIdentityColumn
  • UseIdentityColumns -> UseJetIdentityColumns

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.