Commit Graph

44 Commits (8d6b893c626a08becb3ef41ca8f447794c621823)

Author SHA1 Message Date
Christopher Jolly db0567510f
Update some tests (#213) 2 years ago
Christopher Jolly ff8c50a1dc
Improve handling executing scripts in the tests (#207)
Executing the SQL script to set up the Northwind database was quite slow during debug. This speeds it up
2 years ago
Christopher Jolly df7b86ac96
Misc test fixes (#196) 2 years ago
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
Christopher Jolly 73875b9832
Revert the behaviour of DateTimeOffset to how it was in the 7.0 series (#184)
* Revert the behaviour of DateTimeOffset back to how it was in the 7.0 series
2 years ago
Christopher Jolly 6ccebae028
Db model factory updates (#166) 2 years ago
Christopher Jolly 88f0ba8df5
Fixes to the QueryBugsTest (#162)
* Ensure connection is closed before dropping the database/deleting the file

* Upgrade the QueryBugsTest
2 years ago
Laurents Meyer de360e580a Fix test database creation. 2 years ago
Laurents Meyer 73f91b2286
Add XUnit infrastructure to handle unsupported statements and test runner crashes (#152)
* Add custom Xunit runner to allow skipping tests after they have already failed, if the failure is expected (because of missing support in Jet).

* Finalize implementation and add crash detection support.
2 years ago
Laurents Meyer 73b5c0690f Fix tests resulting in opposite provider type exceptions. 2 years ago
Laurents Meyer f086526d02
Fix and update dependencies and project files. (#144) 2 years ago
Christopher Jolly d78256f53d update tests 2 years ago
Christopher Jolly 70af0c286c Set query splitting behaviour. Prevents errors due to it not being set 2 years ago
Christopher Jolly d7268307bc Fix generating a custom OleDbException for the tests 3 years ago
Christopher Jolly 12aca42198 Add option to use the normal short text type when mapping against an unbounded System.String instead of long text/memo. Jet has limitations when using memo (e.g. joins are not supported) 3 years ago
Christopher Jolly a48c20c45c In a raw sql string the base delimiters and normalized to " and not `. 3 years ago
Christopher Jolly 3764d5ab27 Declaration is the same for both Odbc and OleDb 3 years ago
Christopher Jolly 0e7d080ebd Initial ef7 update 3 years ago
Christopher Jolly 2f2de12dd5 enable and fix tests 3 years ago
Christopher Jolly ed8f109855 update tests to build 3 years ago
Christopher Jolly b1fa143d4d
Update to .Net 5 (#99)
* update to net 5

* Add DecimalTypeKey to the logger

* fix build

* fix sdk version for script

* Update dependencies.

* Fix version and dependencies.

* Readd necessary code paths, fix smaller upgrade issues, cleanup code.

* Fix project files.

* Fix tests.

* Readd removed JetQueryTranslationPostprocessorFactory injection.
Fix date/time related millisecond (double) support.

* Fix value generation.

Co-authored-by: Laurents Meyer <laucomm@gmail.com>
4 years ago
Laurents Meyer 00178eb0cd
Fix DateTime fractions logic and make milliseconds support opt-in (#86)
* Ensure deterministic test ordering.

* Fix DateTime factions logic.

* Make milliseconds support opt-in.

* Fix logic and add tests.

* Fix DateTime related OLE DB parameter configuration.
5 years ago
Laurents Meyer 54b4af5759
Fix DateTime expressions for HasDefaultValue() and add support for fractions of a second (#85)
* Fix and improve test runs.

* Fix DateTime expressions for HasDefaultValue() and add support for fractions of a second.
Refactor test infrastructure.
5 years ago
Laurents Meyer f094f3658c
Fix data and test infrastructure and scaffolding (#82)
* Fix local references.

* Optimize, fix and simplify JetDataReader.

* Only scaffold objects if tables are available.

* Fix test infrastructure.

* Ignore Development.props in root folder.
5 years ago
Laurents Meyer 64ebb61c0a
Rename System.Data.Jet to EntityFrameworkCore.Jet.Data (#75)
* Rename System.Data.Jet and System.Data.Jet.Test projects.

* Rename System.Data.Jet and System.Data.Jet.Test namespaces.
5 years ago
Laurents Meyer c661926684
Improve project and CI (#68)
* Update .NET SDK.
Improve CI.

* Simplify dependency management.

* Add new versioning mechanism.

* Implement CI package publishing.

* Add matrix for multiple ACE architectures.

* Fix xUnit warnings.

* Cleanup and enable SourceLink.

* Manually install .NET SDK to specify architecture.
Extend matrix to test for x64/x86 and ODBC/OLE DB.
5 years ago
Laurents Meyer 864be46354
Reimplement schema retrieval and scaffolding (#59)
* Reimplement schema retrieval.

* Reimplement scaffolder. Some Jet specific options have not been implemented yet.
5 years ago
Lau db47437539 Provide `TOP` and `SKIP` support for ODBC commands and improve algorithm and use cases. 6 years ago
Lau 3f19b269b4 Rename DataAccessType to DataAccessProviderType. 6 years ago
Lau 2a6a3b67ba Update baseline assertions to support ODBC parameter placeholders. 6 years ago
Lau 41579e74c9 Cleanup all remaining ODBC and OLE DB references. 6 years ago
Lau d502f6e3c6 Replace SQL related square brackets with backticks in all code and script files. 6 years ago
Lau 4d1f86bb0e Implement parallel support for ODBC and OLE DB. 6 years ago
Lau 74dd677b00 Upgrade EFCore.Jet.FunctionalTests. 6 years ago
bubibubi 80fda80a76 EF 2.2 Preview (Test 3129/6704) 7 years ago
bubibubi ec18b5a643 Fix to JetTypeMappingSource 8 years ago
bubibubi cbb31e95da Update for v2.1
Several tests not running
8 years ago
bubibubi 0aa943763f Added test for issue 4 8 years ago
bubibubi c2bf2582bb Test fixes 3917/1/868 8 years ago
bubibubi 3f6288734d Other fixes 3636/757/584 8 years ago
bubibubi 630c22458d Test fixes 2127/2024/678 8 years ago
bubibubi 85ad4ce57d Relaxed type check during materialization, Added partial support for DateTimeOffset type, Fix to DROP DATABASE parser, Added MSys* creation, Fixes to Gear test 8 years ago
bubibubi 5f7764ec35 Go on with fixes. Now less than 2500 non running tests 8 years ago
bubibubi 336dd1fb50 Some more fixes - Still boolean test not working 8 years ago