Commit Graph

1206 Commits

Author SHA1 Message Date
Marc Gravell 2df6d074e8 Experimental multi-map code for tuples (not optimized) 2017-04-21 14:45:21 +01:00
Marc Gravell 841b03f2b8 Merge branch 'value-tuples' of github.com:StackExchange/Dapper into value-tuples 2017-04-21 13:21:23 +01:00
Marc Gravell 9f827eb39f Add tests for the too few/too many columns scenarios for value-tuples; happy to discuss alternative expectations 2017-04-21 13:20:18 +01:00
Marc Gravell b4f22575d7 Better matching of value-tuple names when wrong number of columns - should return nulls for unmapped 2017-04-21 13:20:18 +01:00
Marc Gravell 6a29c49398 remove redundant test code (oops) 2017-04-21 13:20:18 +01:00
Marc Gravell 7c1ad86e93 Define expected behaviour for value-tuple parameters and returns, and implement 2017-04-21 13:20:18 +01:00
Marc Gravell 637158f5ce Replace System.Data.SqlClient dependency with System.Data.Common in main lib 2017-04-21 13:04:46 +01:00
m0sa 972db0625b test driving https://github.com/NuGet/Home/issues/4853 nupkg fix 2017-04-20 14:23:04 +02:00
m0sa 96110ad0df seems like this is going to be named pack once they fix nuget 2017-04-14 07:03:01 +02:00
m0sa ae431aaf84 restore, build and test in release configuration, don't (re-)build on test and pack 2017-04-12 14:55:07 +02:00
m0sa a4712007df but restore needs the package version suffix 2017-04-12 14:19:11 +02:00
Nick Craver e14971e4f1 Add build.cmd & fix some warnings 2017-04-12 08:15:24 -04:00
m0sa 8181fe86fd we don't need to call dotnet msbuild now 2017-04-12 14:11:49 +02:00
m0sa 829ba16736 build.ps1 must work with dotnet msbuild 2017-04-12 01:08:53 +02:00
m0sa 70bbb472fd moar build tweaks 2017-04-10 15:15:05 +02:00
Samo Prelog e5cc3ccf86 workaround for https://github.com/NuGet/Home/issues/4853 2017-04-10 10:45:27 +02: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 d6f3025987 Better matching of value-tuple names when wrong number of columns - should return nulls for unmapped 2017-04-07 14:21:42 +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
Nick Craver ae7a29a9f1 VS 2017 .csproj Migration
Due to the way VS test works (by injecting an executable entry point), the performance tests needed to be factored out. I also organized all of our existing tests better along the way.
Actual code changes to Dapper itself are very minor, only formatting and documentation fixes (which we need many more of).

The build.ps1 script is upated to work, but note that <frameworkAssemblies> is not working in .nuspec inside the packages in the new .csproj system. I consider this to be a blocker. Issue is here: https://github.com/NuGet/Home/issues/4853
2017-03-25 19:34:10 -04:00
Jovan Popovic (MSFT) 71c16e6684 Fixed test issue in Simple.Data performance test (#723)
* Added fix for Simple.Data tast

Due to the missing .FirstOrDefault() in Simple.Data test, performance
numbers for Simple.Data were too high (better than hand coded data
reader). Added FirstOrDefault() to actually fetch the data.
2017-03-14 06:55:23 -04:00
Nick Craver cdab5f5bed Merge pull request #701 from vondruska/master
Update readme to remove notice about requiring open connections
2017-03-13 22:28:07 -04:00
Nick Craver 0fb3776c7a Merge pull request #707 from JocaPC/master
Added Belgrade SqlClient library in the performance benchmark
2017-03-13 22:27:08 -04:00
Nick Craver e7607c26f1 Security! 2017-03-01 16:15:20 -05:00
Nick Craver de755d1f12 Fix Dapper release notes link 2017-03-01 11:37:53 -05:00
Marc Gravell 0ae1062c79 Merge branch 'master' of github.com:StackExchange/dapper-dot-net 2017-03-01 11:34:52 +00:00
Marc Gravell 5bc87f06dc Add a full stop just so I can tell if the docs migration is working 2017-03-01 11:34:40 +00:00
Marc Gravell eaa3a1971b Set theme jekyll-theme-cayman 2017-03-01 11:32:34 +00:00
Marc Gravell f0cc51a288 migrate release notes to [master]/docs 2017-03-01 11:31:58 +00:00
Jovan Popovic 1369e5d0a7 Added Belgrade Sql Client
In the performance benchmark is added Belgrade Sql client data access
library (https://github.com/JocaPC/CLR-Belgrade-SqlClient). This is a
wrapper around ADO.NET classes that executes queries in async manner
using callbacks. "Belgrade.Sql.Client": "0.6.2" is aded in project.json
file, and new flag "BELGRADE" controls should the test be executed.
2017-02-22 14:20:55 +01:00
Jovan Popovic 4f95c64df7 Merge remote-tracking branch 'refs/remotes/StackExchange/master' 2017-02-13 00:37:36 +01:00
Steven Vondruska 77ad677e5e Remove note about requiring open connections 2017-02-12 16:37:37 -05:00
Nick Craver f0bbbab8e5 Rename package to "Dapper"
Related: #683
2017-02-08 21:27:14 -05:00
Nick Craver a7ff0b3d9f Fix missing Firebase Async, issue #695
TODO: All of these need race love in V2, complete re-vamp.
2017-02-08 21:22:50 -05:00
Nick Craver 7d49507f9d Merge pull request #693 from bretcope/getrowparser-docs
Add GetRowParser documentation/example
2017-02-06 13:17:13 -08:00
Bret Copeland 67eaaa16c0 Add GetRowParser documentation/example 2017-02-06 16:09:17 -05:00
Nick Craver 01acca6c76 Merge pull request #651 from pdesterlich/master
added firebird support
2017-01-28 05:27:27 -08:00
Nick Craver fe5c270ace Merge pull request #638 from hakon1912/master
Add SqlMapper.RemoveTypeMap() method
2017-01-26 19:18:01 -08:00
Nick Craver 4c18a8cef3 Merge pull request #679 from markashleybell/master
Update README with documentation for [ExplicitKey] attribute
2017-01-26 19:14:37 -08:00
Mark Bell 11ec77eaaf Update README with documentation for [ExplicitKey] attribute 2017-01-19 11:15:23 +00:00
Marc Gravell 23e6b64c9f Revert "1.50.3-beta1: looks at #637 re Guid"
This reverts commit 91725fb309.
2017-01-06 13:53:50 +00:00
Phelipe de Sterlich 16d8691892 added firebird support
added firebird sql adapter to allow record insert and key retrieving
2016-12-01 11:38:38 +01:00
Marc Gravell 4b45989507 Merge pull request #646 from verysimplenick/patch-1
Add test DiscriminatedUnionWithMultiMapping
2016-11-28 10:47:45 +00:00
verysimplenick 6f4284ec2d Add test DiscriminatedUnionWithMultiMapping
DiscriminatedUnionWithMultiMapping - test for check correct MultiMapping (splitOn) functionality with discriminated row parser.
2016-11-28 12:06:55 +03:00
Marc Gravell 966d45a65b Merge pull request #643 from AArayeshi/patch-1
Update Readme.md
2016-11-18 09:30:31 +00:00
Amir 9c37d60c4a Update Readme.md 2016-11-18 15:48:14 +10:30
hwikene 8aa10a0237 Add SqlMapper.RemoveTypeMap() method 2016-11-05 14:01:33 -07:00
Nick Craver a155ebb48d Fix Contrib test resolution
Note: there's still a 1.0.0 vs 1.1.0 quirk here - digging.
2016-11-04 14:41:28 -04:00
Nick Craver 665c00b316 Toolng cheese move - lock in preview2 for now. 2016-11-04 14:41:06 -04:00