Commit Graph
9 Commits
Author SHA1 Message Date
Marc Gravell 8152f2c718 WIP: Lib updates and prepare for Microsoft.Data.SqlClient (#1313)
v2 work; primarily prep for split SqlClient
2019-08-28 15:07:32 +01:00
Joseph Musser 8b49eb691d Stop setting current index local which is nonexistent in ValueTuple deserializer (#1280)
* String and byte[] tuple elements cause InvalidProgramException

* Stop setting current index local which is nonexistent in ValueTuple deserializer
2019-06-13 07:37:41 +01:00
Marc Gravell 9fbba78da0 Make Dapper happy with Microsoft.Data.SqlClient (#1262)
* prep work for adding Microsoft.Data.SqlClient support/tests; SqlClient dependency is not yet removed
2019-06-12 16:24:38 +01:00
Joseph Musser 33d974a5c0 Fixes mapping for C# tuples with more than seven elements (#1242)
* Failing tests for tuples larger than 7

* Special-case IL generation for ValueTuple

* Make value-processing logic available to ValueTuple generation
2019-06-12 16:16:45 +01:00
Nick Craver bdebedea41 Tests: xUnit cleanup
This change:
- Removes the Assert shim
- Uses recommended xUnit methods (improving fail errors)
- Cleans up exception tests
- General test formatting fixes
- Removes the netcoerapp1.0 only testing (oops commit)
2017-08-20 23:00:08 -04:00
Nick Craver f613234413 Lots of code cleanup, no functional changes 2017-05-07 15:49:01 -04:00
Marc Gravell df4c301f3a Add tests for the too few/too many columns scenarios for value-tuples; happy to discuss alternative expectations 2017-04-07 14:43:40 +01:00
Marc Gravell f5938d7b4a remove redundant test code (oops) 2017-04-07 13:41:44 +01:00
Marc Gravell 9cc975b381 Define expected behaviour for value-tuple parameters and returns, and implement 2017-04-07 13:38:41 +01:00