674 Commits

Author SHA1 Message Date
Marc Gravell 451d50ba5e 1.29: make Underscore_Names opt-in 1.29 2014-08-06 21:23:04 +01:00
Marc Gravell ce23d47d22 1.28 release 1.28 2014-08-06 16:47:21 +01:00
Marc Gravell cbb3f4c62c Minor test tweak 2014-08-06 16:42:15 +01:00
Marc Gravell 5f7e88a456 Set InitialLONGFetchSize to -1 if it exists 2014-08-06 16:30:16 +01:00
Marc Gravell fa7bfe4f5b and double all that to make sure it works with all nullable types too 2014-08-06 13:27:29 +01:00
Marc Gravell 9b0808d441 make type conversions (especially enums) far more forgiving 2014-08-06 13:14:56 +01:00
Marc Gravell b213df66fe Merge pull request #134 from et1975/master
Query returning empty results should not throw exception
2014-08-06 11:30:07 +01:00
Marc Gravell af1d9f6f72 Merge pull request #124 from AndrewMSpencer/master
Inclusive/Exclusive Where Clauses and Intersect
2014-08-06 11:24:30 +01:00
Marc Gravell fea7ea2a3e Merge pull request #90 from CaioProiete/fb-enable-mapping-of-db-fields-with-underscores
Add mapping for query fields containing underscores to properties with the same name without underscores
2014-08-05 17:20:42 +01:00
Marc Gravell fda7cb835b add comment for IsConsumed 2014-08-05 17:15:32 +01:00
Marc Gravell 6981d029a5 Merge pull request #135 from brramos/multiQuery
IsConsumed bool field for MultiQuery
2014-08-05 17:14:18 +01:00
Marc Gravell f12f30d840 Merge pull request #141 from mkonstan/master
It does not look like we need above if since we are typecasting value to...
2014-08-05 17:13:20 +01:00
Marc Gravell 33c5976a7b For value types, the nullable and non-nullable type handler should be in sync (via chilversc) 2014-08-05 17:10:53 +01:00
Marc Gravell 5c633e85c7 Added test for issue 142 (cannot repro) 2014-08-05 16:57:52 +01:00
Marc Gravell 701ad08e75 Merge pull request #117 from simonkang/master
Added method to use AnsiString as Default
2014-08-05 16:49:09 +01:00
Marc Gravell 1fff7b9745 Fixed: Issue 165 2014-08-05 16:43:37 +01:00
Marc Gravell 71bac1da42 Created NET45 dapper.contrib in anticipation of pull request 2014-08-05 16:26:50 +01:00
Marc Gravell 7af019ea88 via geovar (https://github.com/StackExchange/dapper-dot-net/issues/133) 2014-08-05 16:14:07 +01:00
Marc Gravell 8f31bdc291 Added ExecuteScalar (issue 22), and optional plan caching 2014-08-05 16:09:14 +01:00
Marc Gravell b07897d131 Merge branch 'master' of github.com:StackExchange/dapper-dot-net 2014-08-05 15:20:57 +01:00
Marc Gravell d3260f4443 Add cache bypass option (Issue #66) 2014-08-05 15:20:39 +01:00
maxim f6e29fecd5 It does not look like we need above if since we are typecasting value to T at the end. 2014-08-05 08:48:09 -04:00
Marc Gravell 42000a81a4 Merge pull request #131 from DavidKarlas/patch-1
Removing xapfest.com from Readme
2014-08-05 13:45:14 +01:00
Marc Gravell 5039ea1c3c Issue 130: don't try to convert to object 2014-08-05 13:08:22 +01:00
Billy Ramos 23f5cf649b IsConsumed bool field for MultiQuery 2014-07-24 15:15:50 -07:00
Eugene Tolmachev d419b1b28c Query returning empty results should not throw exception
https://code.google.com/p/dapper-dot-net/issues/detail?id=57
2014-07-22 14:47:31 -04:00
David Karlaš d1f835e6e4 Removing xapfest.com from Readme
Seems to me like xapfest.com domain is dead so removing it from Readme file
2014-07-19 00:17:35 +02:00
Marc Gravell 621e73751a 1.27 release 1.27 2014-07-15 08:29:10 +01:00
Marc Gravell 11c29b4ae1 Check ITypeHandler.Parse actually gets chance to parse values 2014-07-14 21:01:04 +01:00
Marc Gravell 353b682fee make sure that SetValue is the last thing to happen when there is a type-handler 2014-07-14 20:32:15 +01:00
Marc Gravell 0022431761 Merge branch 'master' of git@github.com:StackExchange/dapper-dot-net.git 2014-07-14 09:31:20 +01:00
Marc Gravell ad95cfc288 Extra tests from SO questions 2014-07-14 09:30:48 +01:00
Marc Gravell d17bdb54d3 Merge pull request #128 from johnleegrant/patch-1
Update Tests.cs
2014-07-09 14:36:27 +01:00
John Grant deec74e4d0 Update Tests.cs
PostgreSQL syntax error - insert into tcat(breed, name) values(:breed, :name)
2014-07-09 14:22:56 +01:00
Marc Gravell 1a41f12cdb Add Type-based API rather than just <T> 2014-07-07 09:39:02 +01:00
Marc Gravell 73e320c847 1.26 deploy 1.26 2014-07-03 17:11:30 +01:00
Marc Gravell 1aacfc8831 New nuget project for handling DbGeography and other EF types 2014-07-03 17:07:50 +01:00
Marc Gravell 8c9bb52630 Add DataTable support as a custom handler, with extended-property detection for TypeName 2014-07-03 16:06:54 +01:00
Marc Gravell 58fb9c5cb8 Merge branch 'master' of git@github.com:StackExchange/dapper-dot-net.git 2014-07-03 12:55:13 +01:00
Marc Gravell 66c8b3f1b7 Mono lacks SqlParameter.TypeName; apply that more flexibly 2014-07-03 12:55:00 +01:00
Marc Gravell 36fdd579fa Merge pull request #126 from davidomeara/master
AmbiguousMatchException with multiple indexers
2014-07-01 11:18:51 +01:00
Marc Gravell a8043e0215 only attempt to set UdtTypeName after checking parameter type 2014-06-25 13:26:14 +01:00
Marc Gravell e26ee0abe5 Exploration into better support for custom type handlers 2014-06-25 13:18:57 +01:00
David O'Meara 53a3878790 An AmbiguousMatchException is encountered when the Type.GetProperty(String, BindingFlags) method is used and there are multiple indexers on the type, so it was replaced with a call to Type.
GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[]).
2014-06-23 13:01:35 -05:00
Marc Gravell 88766056c8 ISupportInitialize support 2014-06-10 14:42:17 +01:00
AndrewMSpencer 0451379032 Inclusive/Exclusive Where Clauses and Intersect
Added two new features:  OrWhere extension for combining where clauses in an inclusive vs exclusive context (Or vs And) and Intersect extension.
2014-06-05 10:33:03 -04:00
Marc Gravell f5ae8e6728 Merge pull request #123 from Polylytics/multimapfix
Re-worked GenerateDeserializers to support new test
2014-06-02 14:41:00 +01:00
Marc Gravell 9a068e79b3 Actually, it can work for sprocs without needing SqlClient, as the "structured" bit is inferred and no type-name is required 2014-06-02 14:17:57 +01:00
Marc Gravell c9569d3e24 Proposal for TVP support; one concern is that it won't play nicely with things like mini-profiler 2014-06-02 14:06:53 +01:00
Mark Jerzykowski 5afba486fc Re-worked GenerateDeserializers to support new test
"TestMultiMappingWithNonReturnedProperty"
Fixed TestSplitWithMissingMembers as a side-effect
2014-06-02 13:36:54 +01:00