Commit Graph

1577 Commits

Author SHA1 Message Date
Nick Craver 33e0143002 Builds: Bump library versions (#1935) 2023-07-08 10:28:18 -04:00
Marc Gravell 02c92d99c4 tyop 2023-06-20 13:55:06 +01:00
Marc Gravell 1c628bfb74 release notes 2023-06-20 13:54:38 +01:00
Marc Gravell 20d81380ca mark all structs as readonly; fix some compiler noise (no functional change) (#1925) 2.0.143 2023-06-20 13:33:43 +01:00
Marc Gravell d91d90465d reinstate support for IDataReader (#1913)
* if we stop supporting DbDataReader, someone is going to complain; I'd
rather wrap it for now (to make the lib work), and add an analyzer
in AOT that shouts at them for using IDbConnection

also: compiler nits

* release notes
2023-06-20 13:31:55 +01:00
Cédric Luthi 677fee27c6 Enable the Issue552_SignedUnsignedBooleans test (#1919)
It works fine with MySqlConnector 1.1.0
2023-06-13 17:11:13 +01:00
Cédric Luthi da6509a224 Document how to run docker for db tests (Firebird + MySQL + PostgreSQL) (#1918) 2023-06-13 17:06:30 +01:00
Marc Gravell a9ef55fae1 update release number in docs 2023-06-09 16:32:38 +01:00
Marc Gravell d56340b885 add missing QueryUnbufferedAsync<T> API (#1912)
* impl QueryUnbufferedAsync<T>
* implement GridReader.ReadUnbufferedAsync<T>
2.0.138
2023-06-09 16:22:25 +01:00
Nick Craver 194a0cea6a [Builds] AppVeyor: use Visual Studio 2022 image (#1911)
We want to use latest SDK and ability to run against net6.0 tests. It looks like the pool issue with VS 2022 has been resolved on the AppVeyor side so: yay! That solves everything cleanly with no installs.
2023-06-09 09:35:00 -04:00
Marc Gravell 01f03ef3e8 add support for fetching values via GetFieldValue<T> (#1910)
add support for fetching values via GetFieldValue<T>; this requires
DbDataReader, but in reality the reader is *always* DbDataReader;
acknowledge this, and stop pretending to use IDataReader internally
(no breaks to public API)
2023-06-09 14:02:06 +01:00
Oleksii Holub a31dfd3dd4 Update GitHubActionsTestLogger (#1781) 2022-08-21 13:28:02 -04:00
Samir Dahal 4562cc2fce fix typos (#1800) 2022-08-21 13:27:30 -04:00
Olivier Spinelli 70be2bd5e2 Fixed case sensitivity issues. (#1801) 2022-08-21 13:27:09 -04:00
David Pine cb5a43bd7b Update index.md (#1806) 2022-08-21 13:26:05 -04:00
Alla Hoffman ca00feeb5f Adding notes on the sub-packages' purpose to the readme (#1718)
I just paraphrased the summaries from the sub-packages' Nuget Readmes and added them to the grid of packages in the Readme. Is that a good spot for them, and are those summaries sufficient? PR would close #1488
2022-03-02 20:04:43 -05:00
GitHubPang 62a526b411 Fix grammar and formatting in readme (#1696)
Co-authored-by: Nick Craver <nrcraver@gmail.com>
2022-01-04 09:24:35 -05:00
Raphael Schweizer 60fc296b73 Fix NETSDK1174 (#1699)
As per https://docs.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1174 `-p` is deprecated in favor of `--project`
This PR fixes the deprecation warning when running the benchmarks as currently described in the README.
2022-01-04 08:57:07 -05:00
Jon Roberts 17256754c3 Document usage of IDynamicParameters in more detail (#1707)
Considering all of the inquiries on StackOverflow about DynamicParameters, there should probably be a simple overview in the documentation.
Examples:

- https://stackoverflow.com/questions/12723922/dapper-adddynamicparams-for-in-statement-with-dynamic-parameter-name
- https://stackoverflow.com/questions/43412455/dapper-with-sql-query-dynamic-parameters
- https://stackoverflow.com/questions/38443739/passing-dynamically-created-sql-parameters-into-dapper-as-an-anonymous-type
- https://stackoverflow.com/questions/62448900/how-do-i-loop-through-dapper-dynamic-query-results-using-strings-as-parameters
- https://stackoverflow.com/questions/36735189/dapper-dynamicparameters-returning-error
2022-01-04 08:56:32 -05:00
Raphael Schweizer cb85070a39 EF Core benchmarks for connections w/ passwords (#1700) 2022-01-04 08:54:19 -05: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
mgravell 296092b73b release notes 2021-11-03 15:45:34 +00:00
Marc Gravell 2a837ad7d0 Support for snowflake (#1724)
* snowflake tests #1687

* actually add the tests!

* merge
2.0.123
2021-11-03 14:05:39 +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
Sergei Khlebnikov 80719d00f3 Added more use cases RepoDB benchmarks (#1710) 2021-10-10 09:29:55 -04:00
derickstinson a4b1c56a15 Update SqlMapper.cs (#1675)
Fix verbiage for return type documentation comments.
2021-07-27 09:13:00 +01:00
Pure Krome 1235a38e1b Another example: Execute a command Multiple Times (#1690)
Another example for "Execute a command Multiple Times" when we have an existing collection. The existing example (which still remains) I found to be a little bit confusing when I had an existing collection. So hopefully this 2nd example will help a tiny bit.
2021-07-27 09:11:38 +01:00
Marc Gravell 4aac41a2bc Enables "snowflake" connection (#1689)
* snowflake tests #1687

* actually add the tests!
2021-07-27 09:11:16 +01:00
Sviataslau Hankovich c62611a4f2 Fix signatures in readme (#1683) 2021-07-27 09:11:04 +01:00
Wei 31981fdf51 Add Documentation for Dapper.SqlBuilder (Issue #688, #480) (#1679)
Add Documentation for Dapper.SqlBuilder (Issue #688, #480)
2021-07-04 08:12:52 -04: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 61a04340af Merge pull request #1666 from kant2002/kant/update-version 2021-05-10 08:44:40 -04:00
Andrii Kurdiumov 069df56ec1 Update version of SqlMarshal to fix warnings
This address feedback in #1646
2021-05-10 17:50:16 +06: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 87fe687eea Merge pull request #1665 from DapperLib/craver/dbstring-tostring 2021-05-09 22:46:53 -04:00
Nick Craver b275d24652 Release notes 2021-05-09 22:41:16 -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 42987a597b Merge pull request #1664 from DapperLib/craver/spliton-message 2021-05-09 21:56:52 -04:00
Nick Craver 6af6252eb6 Add release notes 2021-05-09 21:52:43 -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 ffc02eb236 Merge pull request #1405 from brendangooden/allow-custom-type-checking-public 2021-05-09 19:12:03 -04:00
Nick Craver 54b1e4e7a2 Add 1405 to release notes 2021-05-09 19:09:29 -04:00
Nick Craver 7af97799bc Merge pull request #1254 from dmytro-gokun/2019-05-06-fix-rainbow-database-dispose 2021-05-09 19:06:30 -04:00
Brendan Gooden 9ad2895444 XML love for SqlMapper.HasTypeHandler 2021-05-10 06:55:58 +09:30
Nick Craver 1f8e09e0f6 Whitespace cleanup 2021-05-09 09:37:13 -04:00
Nick Craver 62b3c91662 Merge remote-tracking branch 'origin/main' into pr/1254 2021-05-09 09:36:21 -04:00
Nick Craver dffb443e01 Add #1598 to release notes 2021-05-09 09:10:22 -04:00
Nick Craver a12c37adcd Merge pull request #1598 from DarkWanderer/feature/support-returning-arrays 2021-05-09 08:08:41 -05:00