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.
EntityFrameworkCore.Jet/test/EFCore.Jet.FunctionalTests/TestUtilities
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
..
AssertSqlHelper.cs Declaration is the same for both Odbc and OleDb 3 years ago
CollectionExtensions.cs
JetAdventureWorksTestStoreFactory.cs
JetCondition.cs
JetConditionAttribute.cs Update to .Net 5 (#99) 4 years ago
JetConfiguredConditionAttribute.cs
JetDatabaseCleaner.cs Db model factory updates (#166) 2 years ago
JetDatabaseFacadeExtensions.cs
JetDbContextOptionsBuilderExtensions.cs Set query splitting behaviour. Prevents errors due to it not being set 2 years ago
JetNorthwindTestStoreFactory.cs
JetTestHelpers.cs Properly read and write UTC values for DateTimeOffset (#188) 2 years ago
JetTestStore.cs Revert the behaviour of DateTimeOffset to how it was in the 7.0 series (#184) 2 years ago
JetTestStoreFactory.cs
SqlExceptionFactory.cs Fix tests resulting in opposite provider type exceptions. 2 years ago
TestEnvironment.cs
TestJetConnection.cs Fix tests resulting in opposite provider type exceptions. 2 years ago
TestJetRetryingExecutionStrategy.cs
TestRelationalCommandBuilderFactory.cs Fix tests resulting in opposite provider type exceptions. 2 years ago
TestRelationalTransaction.cs Fix tests resulting in opposite provider type exceptions. 2 years ago