Commit Graph

163 Commits (2e33783fbe147cf0fde88bb5cdc37f6b742a9619)

Author SHA1 Message Date
Christopher Jolly 2e33783fbe
Update to EF10 (#284) 5 months ago
Christopher Jolly 325ea97716
Math.Truncate rounds towards 0. Use FIX instead of INT to match that behaviour (#282) 5 months ago
Christopher Jolly f72fd5fcb0
Add more tests (#280)
* Add more tests

* updates

* updates

* updates

* [GitHub Actions] Update green tests.

---------

Co-authored-by: github-actions <github-actions@github.com>
6 months ago
Christopher Jolly 563008f85e
Don't run certain tests in CI (#278)
* dont run migrationstest in CI

* fix IsCI

* remove non ci tests from green file

* try fix token

* [GitHub Actions] Update green tests.

* more tests

* [GitHub Actions] Update green tests.

---------

Co-authored-by: github-actions <github-actions@github.com>
8 months ago
Christopher Jolly 1069897167
Update to sync to latest EF 9 (#276)
* Small fixes

* some smaller fixes to bring up to date to ef 9

* change version to rtm
8 months ago
Christopher Jolly 3ee8feaad6
Update dependencies to EFC 9 GA (#273)
* update to match efc 9 ga

* fix tests

* fix odbc

* fix another test

* Add some missed tests in MigrationsInfrastructure
1 year ago
Christopher Jolly dd24f9a674
Code style cleanup (#271)
* Code cleanup and code style enhancement

* Oops

* Fix default provider type

* fix error

* Throw better error if GetMostRecentCompatibleProviders doesn't find anything
1 year ago
Christopher Jolly 1de9eb4382
Add translations for greatest/least,math.min/math.max (#270)
* Add translations for greatest/least,math.min/math.max using if statements
1 year ago
Christopher Jolly ec6c702334
Add Std Dev and Variance using EF.Functions (#269)
* Add Std Dev and Variance using EF.Functions
1 year ago
Christopher Jolly 083bc948ef
Update to final efcore RC2 build (#267)
* Update to final efcore RC2 build

* [GitHub Actions] Update green tests.

---------

Co-authored-by: github-actions <github-actions@github.com>
1 year ago
Christopher Jolly b64c1d5e1c
Sync to EF RC1 (#264) 1 year ago
Christopher Jolly 5fece6dd96
Cleanup (#261)
* Use primary constructors
Remove 2 obsolete tests

* fix build

* [GitHub Actions] Update green tests.

---------

Co-authored-by: github-actions <github-actions@github.com>
1 year ago
Christopher Jolly f199d04cba
Improve Null Semantics tests (#260)
* Add missing test overrides
Fix sql literal output from a BoolTypeMapping

* [GitHub Actions] Update green tests.

---------

Co-authored-by: github-actions <github-actions@github.com>
1 year ago
Christopher Jolly 20c42dec52
Translate TimeOnly.FromDateTime and TimeOnly.FromTimeSpan (#259)
* Translate TimeOnly.FromDateTime and TimeOnly.FromTimeSpan
1 year ago
Christopher Jolly bf6e8a17b2
Update SearchCondition visitor with improvements from SQL Server version (#255)
* Update SearchCondition visitor with improvements from SQL Server version
1 year ago
Christopher Jolly fee118c312 missed some tests for ODBC fix 1 year ago
Christopher Jolly f4a9e70e85 Fix ODBC parameter naming in SQL output 1 year ago
Christopher Jolly d974c6ed0d Fix tests: Have to specify minimum DateTime rather than the default with Jet 1 year ago
Christopher Jolly def7692ee9 Update the expected data for Mission.Duration as since it is based on a datetime there is no millsecond support in Jet 1 year ago
Christopher Jolly 3bd4232a07 Fix the precompiled query tests 1 year ago
Christopher Jolly 74c7e3f527 Fix type mapping for Time of Day methods which needs to be TimeSpan 1 year ago
Christopher Jolly fc09548111 Add further tests that were missing 1 year ago
Christopher Jolly 3193634d2b update tests 1 year ago
Christopher Jolly 05dd4b6180 More test fixes 1 year ago
Christopher Jolly 8c7a189260 Upgrade EFCore to a daily build. Currently just after preview 7 1 year ago
Christopher Jolly 05885b0d50 Fix string literals in SQL 1 year ago
Christopher Jolly e570dfbf0f Set operations within an IN mustnt be simplified and must be encased within a SELECT 1 year ago
Christopher Jolly c09c874a5d Use lowest datetime value possible when doing a firstordefault. Default with Jet (0 value) is not the lowest 1 year ago
Christopher Jolly 8ab1767b37 More fixes 1 year ago
Christopher Jolly b01faeb245 More fixes 1 year ago
Christopher Jolly 043a9905a7 make sure all tests that should be overridden are 1 year ago
Christopher Jolly ba02f1cfbd more test updates 1 year ago
Christopher Jolly 28b6768a4c update tests 1 year ago
Christopher Jolly 45bae420e2 Initial ef9 update. Mostly just getting the files to compile with all the ef9 changes 1 year ago
Christopher Jolly 2d5930abc9
Up date to latest ef core dependency (#244) 2 years ago
Christopher Jolly 6ad608581b
Fix DateTimeOffset Now and UtcNow (#235)
* Fix DateTimeOffset Now and UtcNow
2 years ago
Christopher Jolly 41dab6c5c5
Better support for byte arrays (#228)
* fix array index and array length for byte arrays

* [GitHub Actions] Update green tests.

* Fix Contains with byte array. and fix getting length if an odd number of bytes

* fix array index and array length for byte arrays

* Fix Contains with byte array. and fix getting length if an odd number of bytes

* Enforce an optin methodology using EF.Functions for the byte array length due to certain situations with unicode strings

* Split error message and details into 2 parts
2 years ago
Christopher Jolly 7f85d5f87c Jet has 7 decimal digits precision for single/float and 15 for double. Parameter values are automatically sorted out if they have more digits but a inline constant value could use more digits. This lead to the case where a stored double used 15 but the query with the constant used more. When comparing they were thus not equal when they should be equal 2 years ago
Christopher Jolly 0db31fcb2e Fix same parameter name on contains/startswith/endswith. See efcore#32432 2 years ago
Christopher Jolly a95891737c add some test fixes 2 years ago
Christopher Jolly d94c8a758e
Workaround for ValuesExpression (#222)
* Implement a workaround for the VALUES expression in a SELECT
2 years ago
Christopher Jolly 8d6b893c62
Update dependency to EF Core 8.0.2 (#221)
* update to ef core 8.0.2
2 years ago
Christopher Jolly 185e3ef4d8
ODBC Fixes (#220)
* Fix parameter config for decimal and long when using odbc

* DateTime.Date needs its output type mapping to be a datetime

* use decimal as base for currency

* update tests

* Fix DateTime.Date null checking
2 years ago
Christopher Jolly b0b8dffcca
Some tests need the GUID to be formatted with braces so that it matches what is returned from Jet (#219) 2 years ago
Christopher Jolly db0567510f
Update some tests (#213) 2 years ago
Christopher Jolly c963aa4800
Improve the de duplication in the ORDER BY clause (#211) 2 years ago
Christopher Jolly f14e552abf Fix NULL value returned on parameter in a projection when the parameter is used in a subquery projection and parent references it in a group by 2 years ago
Christopher Jolly e4770f4f04 There is no function to create a new guid in MS Access. Translate Guid.NewGuid client side while generating the SQL 2 years ago
Christopher Jolly b3ac6b70c1 Some sql output only fixes 2 years ago
Christopher Jolly 70942d7562 Don't throw error on translating ElementAtOrDefault. This is just operating on the standard rows and not any json. Effectivbely translates at Skip(x) Take(1) 2 years ago