Commit Graph
1019 Commits
Author SHA1 Message Date
Marc Gravell a3ebdfdbe5 Merge pull request #422 from BlackjacketMack/master
Snapshotter now supports private properties.
2015-12-16 21:09:10 +00:00
Rob Mackenzie 61195bf089 Snapshotter now supports private properties.
Private properties can serve as helpful passthroughs to more complex
public properties.  SqlMapper honors private properties when mapping
properties, so it seems natural for Snapshotter to follow suit on the
'get' side of things within the Dapper ecosystem.
2015-12-16 15:31:00 -05:00
Marc Gravell 2b659bc76b Fix test of error messages from First/Single/etc 2015-12-08 14:17:18 +00:00
Marc Gravell 49bc195d68 1.50-beta5 deploy 1.50-beta5 2015-12-08 13:52:01 +00:00
Marc Gravell 23e6653f84 Add all the missing First/Single/SingleOrDefault methods to match the FirstOrDefault added previously 2015-12-08 13:50:36 +00:00
Nick Craver b6cbb98a04 Merge branch 'pr/420' 2015-12-07 06:53:15 -05:00
Nick Craver b0cd0ef8cc Fix unit tests after #420 2015-12-07 06:52:24 -05:00
Johan Danforth 5c5eae8e8f Fix and test for issue #418 2015-12-06 11:37:12 +01:00
Nick Craver 69b6388452 Test for Issue #327 2015-11-29 08:37:53 -05:00
Marc Gravell e918254ea7 Test rig for Issue #295 2015-11-29 12:26:56 +00:00
Marc Gravell 23c4c53912 Merge pull request #416 from StackExchange/Issue281
Fix for #281 - Change CommandBehavior on ExecuteReaderAsync to match sync version
2015-11-28 23:42:38 +00:00
Nick Craver 6b848faa49 Change CommandBehavior on ExecuteReaderAsync to match sync version 2015-11-28 09:00:54 -05:00
Nick Craver 52b1ccb79a ParameterInfo.GetIndexParameters() always returns an array, only need the length check
Just removing some overhead here
2015-11-27 19:42:37 -05:00
Nick Craver ad48bed2ce Cleanup
Remove some unused casts, variables, and warnings
2015-11-27 19:41:48 -05:00
Nick Craver e24c472f39 Merge branch 'johandanforth-bug-in-keypropertiescache' 2015-11-26 15:50:31 -05:00
Nick Craver eb51910ca6 Merging #370 2015-11-26 15:50:14 -05:00
Nick Craver 07572a22f9 Merge branch 'master' of github.com:StackExchange/dapper-dot-net 2015-11-26 15:30:53 -05:00
Nick Craver 63706bb877 Merge branch 'pr/368' 2015-11-26 15:27:12 -05:00
Nick Craver 3b215e3732 Merge pull request #415 from StackExchange/UseSingleResultSingleRow
Use single-row/single-result hint when possible
2015-11-26 15:15:31 -05:00
Marc Gravell ec3a1953a4 Use single-row/single-result hint when possible 2015-11-26 16:35:04 +00:00
Marc Gravell 65b26d6efa Merge pull request #413 from StackExchange/tests/mysql
MySQL Test Suite for Contrib
2015-11-26 15:01:40 +00:00
Nick Craver 8c43e939ba Merge pull request #414 from fjunqueira/patch-1
Fix the URL to the Tests file in Readme
2015-11-26 09:02:31 -05:00
Nick Craver e57980348a Fix OLEDB tests on Appveyor 2015-11-26 07:57:45 -05:00
Fábio Junqueira f83fa2c3c4 Update Readme.md
Fix the url to Dapper Tests
2015-11-26 10:50:13 -02:00
Nick Craver d2a798fd8e Cleanup: use Test.DB.* file pattern (which is .gitignored) 2015-11-26 07:37:51 -05:00
Nick Craver d28f2cf4bf Skip MySQL tests if the server isn't running.
This is the "approved" xUnit pattern, via:
https://github.com/xunit/samples.xunit/tree/master/DynamicSkipExample
It's also the only way I can make the damn skipping work...but at least
it's it's one-time code to make any server set relatively easily
skippable.
2015-11-26 07:36:28 -05:00
Marc Gravell 4f3a04cfaa Merge pull request #412 from StackExchange/QueryFirstOrDefault
Add {Query|Read}FirstOrDefault methods with optimized paths
1.50.0-beta4
2015-11-26 12:07:16 +00:00
Marc Gravell 5708d4980c Bump to 1.50-beta4 for deploy 2015-11-26 12:06:56 +00:00
Marc Gravell 9b93b5388f Fix all (object)param and dynamic param declarations; we already fixed this for non-async, but it looks like it was missed for async; this is not a breaking change: dynamic is actually object+attribute 2015-11-26 11:58:39 +00:00
Marc Gravell 3684dc4dcf Extra tests for FirstOrDefault code 2015-11-26 11:01:19 +00:00
Marc Gravell 869020612a Add {Query|Read}FirstOrDefault methods with optimized paths; remove redundant return await constructs (prefer to return the existing Task) 2015-11-26 10:43:18 +00:00
Marc Gravell 337af552c1 Merge pull request #411 from henkmollema/public-defaulttypemap
Make DefaultTypeMap public again
2015-11-25 15:53:28 +00:00
Henk Mollema 9feabe5632 Make DefaultTypeMap public again 2015-11-25 15:32:55 +01:00
Nick Craver 6ed2f3baa9 Add a MySQL test suite
TODO: Figure out a clean way to disable this locally - we'll want this
functionality in the Core test suite as well as we add MySQL specific
tests (due to syntax differences in creating tables and such).
2015-11-25 06:13:40 -05:00
Marc Gravell 8c7a14cd6a Merge branch 'master' of github.com:StackExchange/dapper-dot-net 2015-11-25 11:13:32 +00:00
Marc Gravell 0f2188520c Ignore sdf files from tests 2015-11-25 11:13:19 +00:00
Nick Craver 336cacbe05 Contrib: fix #404 changes and other issues in MySQL
This fixes some MySQL issues - test suite that confirms issues and fixes
is incoming. TODO shortly after: implement the Insert<T, TKey> style
methods. I just want to get tests running (and some added) first.
2015-11-25 06:04:07 -05:00
Marc Gravell 37a49b4bb3 Added "dnx perf" support in tests json; gave up on getting SUBSONIC , NHIBERNATE and SIMPLEDATA to work, but would love someone to take a look at them 2015-11-25 11:00:28 +00:00
Nick Craver b9c5d5d8d5 Contrib: DRY code current keys implementation 2015-11-24 21:45:12 -05:00
Nick Craver e40c788269 nits 2015-11-24 21:44:38 -05:00
Nick Craver de8c5fe47f Root file cleanup 2015-11-24 21:13:11 -05:00
Nick Craver 0f838ee664 Remove TestResults/ from repo 2015-11-24 21:11:02 -05:00
Nick Craver d2ab2f8d4a Core: SqlMapper cleanup
Assuming the CHSARP30 were oversights here given the net35 removal, but
playing it safe and leaving for this commit.
2015-11-24 21:08:50 -05:00
Nick Craver 114bc10783 Core: peripheral cleanup 2015-11-24 20:37:10 -05:00
Nick Craver ad0a262285 Contrib, Rainbow, EntityFramework & SqlBuilder: code cleanup 2015-11-24 20:20:52 -05:00
Nick Craver bc8468f494 Merge pull request #410 from joncloud/issue#404
Provided a name for MySql LAST_INSERT_ID call to allow the result to …
2015-11-24 19:21:25 -05:00
Marc Gravell 2e61eb8aa9 Merge pull request #407 from StackExchange/full-dnx
A full CoreCLR/DNX friendly conversion
2015-11-24 23:23:03 +00:00
joncloud 9bd979845d Provided a name for MySql LAST_INSERT_ID call to allow the result to map correclty. 2015-11-24 14:39:55 -08:00
Marc Gravell a22242e1fc Merge pull request #409 from joncloud/issue#408
Updated link to performance tests.
2015-11-24 21:40:55 +00:00
joncloud bf39d13af0 Updated link to performance tests. 2015-11-24 13:07:39 -08:00