Marc Gravell
4da982e2c7
Heh, AspNet and DNX (only) work in VS2015; DNX and DotNet (only) work in VS15; I guess we need to use DNX for now, then, as the only one that works in both.
2016-04-01 09:22:12 +01:00
Marc Gravell
fc50aa7833
Recreate all the xproj to reflect the current tooling - old versions break VS15; enable XDocument etc in corefx (#if block was too large)
2016-04-01 09:00:33 +01:00
Marc Gravell
70884babdc
When doing list expansions (6=>10 etc), use the last non-trivial value - do *NOT* use null, as it causes problems with "not in" clauses; add test for the same
2016-03-31 19:46:48 +01:00
Marc Gravell
d2ee19c45b
Set the DbType for XmlDocument / XDocument / XElement
2016-03-02 16:40:54 +00:00
Marc Gravell
66a49521aa
Support xml types by default (XmlDocument, XDocument, XElement) - fix #427
2016-03-02 16:27:33 +00:00
Nick Craver
bd52a790f2
Merge pull request #464 from OsmanMElsayed/master
...
Readme.md: update performance benchmarks tests broken link
2016-02-26 19:42:06 -05:00
Marc Gravell
7f3220dbd0
prefer an exact-case backing-field match over a wrong-case regular field (essentially: this promotes get-only properties over regular fields)
2016-02-26 14:19:35 +00:00
Marc Gravell
5e4b2726df
Merge branch 'master' of github.com:StackExchange/dapper-dot-net
2016-02-26 08:51:17 +00:00
Marc Gravell
bebe80bcaf
Support get-only C# 6 properties, i.e. public int Id {get;}
2016-02-26 08:51:04 +00:00
Marc Gravell
d2d1adff07
Don't check for null in the basic enum case
2016-02-23 21:27:19 +00:00
Marc Gravell
b9288b4aae
Fix #468 - CreateParamInfoGenerator should treat enums as primitives, not box them as enums
2016-02-23 13:38:30 +00:00
Marc Gravell
096b4ac05c
Update to sqlite rc2, because without that nothing works; add extra tests around sqlite oddities; update tests to reflect sqlite rc2 fixes
2016-02-23 12:17:37 +00:00
Marc Gravell
df77f394f4
Add SQLITE to test builds; add tests for issues #466 and #467 ; fix #466 by adding retry-with-fallback flags strategy
2016-02-22 22:50:55 +00:00
Marc Gravell
8e9cc49f6f
Example for SO35554284
2016-02-22 20:35:44 +00:00
Osman M Elsayed
d5fb8be75c
Readme.md: update performance tests link
2016-02-20 15:52:11 +03: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