Laurents Meyer
dc5f216c1b
Add missing counter usage cases. ( #120 )
4 years ago
Laurents Meyer
7de5da5755
Fix EXIST handling in regards to line breaks. ( #117 )
4 years ago
Michael Steinecke
7413f28759
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>
4 years ago
Laurents Meyer
a9c7a11f0d
Improve counter type handling. ( #112 )
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
3595734d47
Fix remaining EFCore.Jet.Data tests ( #92 )
...
* Refactor dual table handling.
* Fix remaining EFCore.Jet.Data tests.
5 years ago
Laurents Meyer
b749447fd0
Add support for PASSWORD clause in EFCore.Jet specific CREATE DATABASE statement ( #91 )
...
* Add support for PASSWORD clause in EFCore.Jet specific CREATE DATABASE statement.
* Add negative test.
5 years ago
Laurents Meyer
45dcfbe0dd
When creating databases, automatically use the latest database version that is supported by the current file extension. ( #90 )
5 years ago
Laurents Meyer
56bf71b17f
Fix schema and rename related issues and tests ( #89 )
...
* Fix schema and rename related issues and tests.
* Adjust rename syntax for better standard conformity.
5 years ago
Laurents Meyer
45e7d8a365
Fix CREATE/DROP DATABASE related issues. ( #88 )
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
2b44bac7ba
Cleanup solution.
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
521362b213
Update dependency versions.
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
130617fd75
Temporary add test to replicate AccessViolationException in x64 ACE provider.
6 years ago
Lau
11d56f868c
Implement workaround for "To many tables" error:
...
ODBC Error Code: -1311 [HY001]
[Microsoft][ODBC Microsoft Access Driver] Cannot open any more tables.
If too many commands get executed in short succession, ACE/Jet can run out of table handles.
This can happen despite proper disposal of OdbcCommand and OdbcDataReader objects.
Waiting for a couple of milliseconds will give ACE/Jet enough time to catch up.
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
a71fcc1b69
Update solution and build/infrastructure files.
6 years ago
Lau
74dd677b00
Upgrade EFCore.Jet.FunctionalTests.
6 years ago
Lau
5de0755b60
Upgrade System.Data.Jet.Test.
6 years ago
Lau
2eef0b952f
Remove obsolete design tests.
6 years ago
Lau
afd9d852cb
Remove obsolete tests.
6 years ago
Lau
a59af50105
Upgrade EFCore.Jet.IntegrationTests.
6 years ago
Lau
66b71242bb
Upgrade and fix EFCore.Jet.Integration.Test to 3.1.x.
6 years ago
Lau
583f990b8c
Upgrade and fix System.Data.Jet and System.Data.Jet.Test to 3.1.x.
6 years ago
Lau
0c2fbad73c
Remove obsolete files.
6 years ago
FreddyD
99749b3cfb
project cleanup
6 years ago
FreddyD
1b4bb30a41
Cleanup more Alias code
6 years ago
FreddyD
a1a6736f40
Update references to EF Core 3.1
6 years ago
FreddyD
a60d66f81e
Misc updates
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