Marc Gravell
7df23a7428
Add discriminated union (manual, not integrated) example
1.50-beta7
2016-01-05 16:07:46 +00:00
Marc Gravell
874731600e
New IDataReader APIs: GetRowParser, Parse; add cache around GetTypeDeserializer that is unrelated to the query itself (just dependent on the shape of the results)
2016-01-02 11:32:51 +00:00
Marc Gravell
c80e9d1748
remove the lie that "binding code is only interested in names - not types"; it might have been true once, but not for a long time
2016-01-02 10:09:21 +00:00
Nick Craver
3d3ce55834
Merge pull request #428 from joncloud/contribArrayIssue
...
Added checks to make sure that arrays get the appropriate type when d…
2015-12-29 19:46:21 -05:00
joncloud
a967b0c2fa
Added checks to make sure that arrays get the appropriate type when delete/insert/update is called.
2015-12-25 10:49:45 -08:00
Marc Gravell
fa03d54b29
Attempt (unsuccessful) to repro #426
2015-12-24 11:41:07 +00:00
Marc Gravell
80d33f06ad
Try to repro #272 (doesn't fail on Win/.NET or Win/CoreCLR)
2015-12-20 21:51:48 +00:00
Marc Gravell
0dc392b3b2
1.50-beta6 package
1.50-beta6
2015-12-19 10:35:30 +00:00
Marc Gravell
926447211f
Be more defensive when adding SqlDataRecord handler; fix #424
2015-12-19 10:19:32 +00:00
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