Commit Graph

55 Commits (ed8f109855e9309022c4ed343c631a130db452fa)

Author SHA1 Message Date
Christopher Jolly ed8f109855 update tests to build 3 years ago
Christopher Jolly 1f35ab88fd merge fixes from upstream 3 years ago
Christopher Jolly de09de2b5f update dependencies 3 years ago
Laurents Meyer 6a8ccd27de
Fix transactions issues (#129)
* Fix active transaction support and disposed handling.

* Add transaction baseline tests.

* Fix transaction tests.
4 years ago
Laurents Meyer e9d4aef876
[PORT] Do not create Index-Operations with the same name as ForeignKey constraints (#115)
* In contrast to SQL Standard, MS Access will create an index together with a the FK constrains (#114)

According to https://docs.microsoft.com/en-us/office/client-developer/access/desktop-database-reference/constraint-clause-microsoft-access-sql
this can be deactivated, however creating an index with the same name as an FK still results in an runtime error, therefor the index creation operation is skipped

Co-authored-by: Michael Steinecke <m.p.steinecke@gmail.com>

* Update to 5.0 and cleanup code and comments.

Co-authored-by: Michael Steinecke <6099045+MichaelSteinecke@users.noreply.github.com>
Co-authored-by: Michael Steinecke <m.p.steinecke@gmail.com>
4 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 12614cd7a1
Ensure columns of relationships (FK -> PK/AK) are applied in the original order, when scaffolding. (#104) 5 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
xoniuqe b0d53d30ce
Fix DEFAULT clause for HasDefaultValueSql() (#81)
* Removed parenthesis from column default values (addresses issue #18)

* Fixed issue where the file handles were not being released after the database connection was closed.

* reverted accidentally changed file to upstream version

* Fixed issue where the file handles were not being released after the database connection was closed.

* reverted accidentally changed file to upstream version

* Add accompanying tests for PR #81.

Co-authored-by: Collin Kostichuk <collin.kostichuk@genivar.com>
Co-authored-by: Collin Kostichuk <collin.kostichuk@wsp.com>
Co-authored-by: Tobias Arens <arens@jam-software.de>
Co-authored-by: Laurents Meyer <laucomm@gmail.com>
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
Floris Verhoeven 23b8257fc8
Trim called without arguments throws index out of range (#77)
* Check arguments before accessing in jet string method translator

* Change expected result on to lower and to upper query tests

* Change expected result on trim query tests

* Remove original fix and fix condition chaining in trim clause generation

Co-authored-by: Floris Verhoeven <florisverhoeven@outlook.com>
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 9f0b60baee Fix tests (especially from `SimpleQueryJetTest`). 6 years ago
Lau db47437539 Provide `TOP` and `SKIP` support for ODBC commands and improve algorithm and use cases. 6 years ago
Lau 1f42ec1f0a Implement automatic driver (ODBC) and provider (OLE DB) inference and detection. 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 fedfc295d6 Remove "dbo" schema from most tests. 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
FreddyD 78c1952b3d Actually, I think we need to target .NET Core 3.0+ 6 years ago
FreddyD ba45c13922 Fixes for test projects 6 years ago
FreddyD e688fce28b Target .NET Core 2.1 on all projects for now 6 years ago
FreddyD 2f6d457aca Update project files to be multi-targeted 6 years ago
FreddyD 656ed75d68 Update test projects to PackageReference format 6 years ago
FreddyD 8ce0bbaa0f Update xUnit tests to use Visual Studio runner 6 years ago
bubibubi c9fe6f9562 Fixed tests 7 years ago
bubibubi 80fda80a76 EF 2.2 Preview (Test 3129/6704) 7 years ago
bubibubi ec18b5a643 Fix to JetTypeMappingSource 8 years ago
bubibubi 2bffcb83eb Release 2.1.0-preview2 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 fc3e377766 Closes #10 8 years ago
bubibubi c8f75a935c Closes #3 8 years ago
bubibubi 8dbf5c9ebc Fixed design tests 8 years ago
bubibubi 892823e4f6 Added Design tests 8 years ago
bubibubi 66971d4f50 Changing EFCore.Jet.Test and included in stream 8 years ago
bubibubi c2bf2582bb Test fixes 3917/1/868 8 years ago
bubibubi a6a40cf5e6 Fixed schema retrieve. Test status 3879/58/849 8 years ago
bubibubi 3f6288734d Other fixes 3636/757/584 8 years ago
bubibubi 630c22458d Test fixes 2127/2024/678 8 years ago
bubibubi 3773c309e3 First documentation commit 8 years ago
bubibubi ef0e31818f NuGet setup 8 years ago
bubibubi 763f735e6a Fix tests 2027 / 1235 / 634 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