Commit Graph

1057 Commits

Author SHA1 Message Date
Marc Gravell fcabf6dbf9 Example for SO35554284 2016-02-22 15:54:38 +00:00
Marc Gravell 595ef1377d fix #465 2016-02-22 00:13:33 +00:00
Marc Gravell b7a7856e56 Test for SO35470588 2016-02-18 10:02:56 +00:00
Marc Gravell 7c24d45bbc Merge pull request #462 from jdanyow/patch-1
Fix typos in the comments for PadListExpansions
2016-02-17 12:46:29 +00:00
Jeremy Danyow f7a1de2f3b Fix typos in the comments for PadListExpansions 2016-02-17 07:42:54 -05:00
Marc Gravell 2a2c086009 1.50-beta8 deploy 1.50-beta8 2016-02-17 10:34:29 +00:00
Marc Gravell 9806401f9b New feature: PadListExpansions - reduces query plan saturation by padding "in" lists and populating with nulls; opt-in (see remarks on setting) 2016-02-17 10:24:54 +00:00
Marc Gravell 49e797a406 Fix #461 - change FindConstructor to allow parameters that have a type-handler defined 2016-02-17 08:44:16 +00:00
Marc Gravell 1797a3c0d9 Initial test setup for #461; note that this does not repro, due to running on SQL-Server - needs to be changed to SQLite to repro 2016-02-15 17:10:24 +00:00
Marc Gravell 95d587f2ba Merge pull request #459 from chilversc/test-isequalto
actual/expected in asserts are the wrong way round
2016-02-13 00:20:24 +00:00
Chris Chilvers 9cec884689 actual/expected in asserts are the wrong way round
All the tests are wrote in the form actual.IsEqualTo(expected). This
made for some odd error messages when a test failed.
2016-02-12 22:51:46 +00:00
Marc Gravell f0273d64f3 Standardize on test db for appveyor 2016-02-11 13:46:13 +00:00
Marc Gravell 4d7a0139ab Detect app-veyor for MySql/Postgresql 2016-02-11 13:10:34 +00:00
Marc Gravell fd050a5908 Don't attempt to load native assemblies on DNX 2016-02-11 11:44:52 +00:00
Marc Gravell 9a422f1615 Fix *all* the CE references 2016-02-11 11:35:01 +00:00
Marc Gravell df0df12ee4 Change CE package to one that might work 2016-02-11 11:30:25 +00:00
Marc Gravell 0319b51e56 Tests: add 4 attempts to repro #457 2016-02-11 11:20:26 +00:00
Marc Gravell b466cd6a0d Make Postgresql tests skip cleanly rather than error if no server 2016-02-11 10:55:46 +00:00
Marc Gravell a4bb66de59 Test cleanup; enable lots more tests hidden previously as EXTERNALS 2016-02-11 10:47:12 +00:00
Marc Gravell 19afe1ed61 fix #455 (make LookupDbType available again) 2016-02-10 11:31:22 +00:00
Marc Gravell 3d11488475 Merge branch 'henkmollema-net451' 2016-02-10 10:35:23 +00:00
Marc Gravell d7c92e21d9 additional tooling tweaks to make it work with current dotnet build 2016-02-10 10:35:04 +00:00
Henk Mollema db0d8daf20 Target net451 rather than dnx451
Class libraries should target net451 rather than dnx451, according to this: aspnet/Announcements#98

Also updated global.json to use DNX v1.0.0-rc1-update1
2016-02-09 21:37:21 +01:00
Marc Gravell a46d339550 Add ApplyNullValues setting / implementation - makes it assign (rather than ignore) null values when possible; also nameof *all the things*; well... most of them 2016-02-05 16:37:28 +00:00
Marc Gravell b51f8f0d4f Fix case sensitive-DB contrib tests 2016-02-05 16:36:11 +00:00
Nick Craver e365987135 Merge pull request #445 from shrayasr/fix/dapper-contrib-typo
Fix small typo in contrib
2016-01-29 07:28:16 -05:00
Shrayas d0505aaf97 Fix small typo in contrib
default was misspelt as defualt
2016-01-29 17:54:34 +05:30
Marc Gravell 6f86108af0 Explicitly declare projects; makes "dnu restore" happy at the root level 2016-01-22 14:00:30 +00:00
Marc Gravell a890c30ed0 Make use of delegate variance, so the actual delegate stored is a Func<IDataReader, YourType>; this makes it possible to efficiently expose GetRowParser<T> without any extra allocations 2016-01-14 10:23:19 +00:00
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