mgravell
caa4ebac81
additional work on #1728
2021-12-09 12:12:49 +00:00
mgravell
24d7f37eca
update SqlClient versions and add integration test for DateOnly/TimeOnly
2021-11-22 09:12:56 +00:00
mgravell
3d405fea35
add type hint
2021-11-11 14:14:25 +00:00
mgravell
21ce60b523
move tests to npgsql 6 (GA); better datetime coverage
2021-11-11 14:05:48 +00:00
Marc Gravell
b272cc664d
Don't specify dbtype for DateTime et al; fixed npgsql 6 issue ( #1723 )
...
* context: #1716 https://github.com/DapperLib/Dapper/issues/1716
- change type-map to allow nullable
- change DateTime/TimeSpan to null
- do not specify DbType for null
- semi-breaking change: swap GetDbType to SetDbType, noting that it is marked [Obsolete] and internal-use-only
- semi-breaking change: make LookupDbType return nullable (same internal-use/[Obsolete])
* add test for Npgsql 6.0.0-rc.1
* try list parameters (like arrays)
* never assign -1 (sentinel) as the .DbType
* postgres tests
2021-11-03 14:01:15 +00:00
Marc Gravell
4aac41a2bc
Enables "snowflake" connection ( #1689 )
...
* snowflake tests #1687
* actually add the tests!
2021-07-27 09:11:16 +01:00
Nick Craver
29f3befae2
Merge pull request #1662 from DapperLib/craver/split-dapper.contrib
2021-05-10 08:58:59 -04:00
Nick Craver
2b7b3fe4a9
Merge pull request #1575 from zqlovejyc/main
2021-05-10 08:58:31 -04:00
Nick Craver
600c1aca45
Add test cases and cleanup last call site.
...
This merges in the work in #1663 and cleans up the convert a bit further.
2021-05-09 23:10:31 -04:00
Nick Craver
566d169a26
Add DbString.ToString() overload
...
Fixes #1538 and #1545 by making DbString.ToString() much more descriptive.
2021-05-09 22:36:23 -04:00
Nick Craver
fca49ebcce
SplitOn: improve error message
...
Fixes #866 . This provides a more informative error, saying _which_ splitOn column couldn't be found in the result set.
2021-05-09 21:51:20 -04:00
Nick Craver
a12c37adcd
Merge pull request #1598 from DarkWanderer/feature/support-returning-arrays
2021-05-09 08:08:41 -05:00
Nick Craver
3387019402
Merge remote-tracking branch 'origin/main' into pr/952
2021-05-09 08:41:35 -04:00
Nick Craver
11931f9e6c
Dapper.Contrib: removal (repo split)
...
Dapper.Contrib is now located at https://github.com/DapperLib/Dapper.Contrib
2021-05-08 20:36:15 -04:00
mgravell
e26aa7b2d6
fix #1656 (git reorg)
2021-04-29 11:04:12 +01:00
DarkWanderer
55b10233f1
Removed accidental namespace addition, made test name clearer
2020-12-20 11:13:12 +03:00
DarkWanderer
f724638c20
Add PostgreSQL test for array
2020-12-20 11:13:12 +03:00
Marc Gravell
6ab170c160
.Net 5 ( #1572 )
...
* initial net5.0 tweaks; also fix current IDE warnings
* lib updates and fixes
* more cleanup
* fix snafu
* skip locals init
* disable xunit shadow copy in tests
* test records
* explore scenario that currently works re #1571
2020-11-17 09:57:17 +00:00
Alexey Golub
7778f18f9f
Update GitHubActionsTestLogger
...
Bumped GitHubActionsTestLogger to v1.1.2 as it fixes a few issues related to reporting in async tests.
https://github.com/Tyrrrz/GitHubActionsTestLogger/blob/master/Changelog.md#v112-26-oct-2020
2020-10-29 02:21:05 +02:00
Nick Craver
1c4f33d665
Fix TestMultiSelectWithSomeEmptyGrids on *nix
2020-10-22 20:59:16 -04:00
Nick Craver
c52bd401f0
Take 32
2020-10-22 20:38:41 -04:00
Nick Craver
8d26e67c01
Tweaks!
2020-10-17 09:07:48 -04:00
Nick Craver
3707223a1a
Tweak docker bits
...
To test locally:
```
$env:SqlServerConnectionString = "Server=.;Database=tempdb;User Id=sa;Password=saAccountI#v3rySecure;"
$env:OLEDBConnectionString = "Provider=SQLOLEDB;Server=.;Database=tempdb;User Id=sa;Password=saAccountI#v3rySecure;"
$env:MySQLConnectionString = "server=localhost;Port=3306;Uid=root;Pwd=root;Database=test;Allow User Variables=true"
$env:PostgreSqlConnectionString = "Server=localhost;Port=5432;Database=test;User Id=postgres;Password=postgres;"
```
2020-10-17 08:53:44 -04:00
Nick Craver
deadc1e3bb
Start of Docker bits
2020-10-15 20:33:15 -04:00
Nick Craver
78ed4b2077
Tests: move into folders
...
One of several moves to make this something we can dev on all platforms and build on Actions for v3 onwards.
2020-10-11 14:56:35 -04:00