201 Commits

Author SHA1 Message Date
Marc Gravell 5472d2abb0 1.34: Support for SqlHierarchyId (core) 2014-08-28 10:07:38 +01:00
Marc Gravell 62bdcd1bb2 1.33: SqlGeometry (core) and DbGeometry (EF) support 2014-08-28 09:53:16 +01:00
Marc Gravell 54bc52b306 1.32: Support for SqlGeography in core library 2014-08-28 09:04:09 +01:00
Marc Gravell 6600c66b8d Support SqlGeography as well as DbGeography 2014-08-28 08:08:09 +01:00
Marc Gravell 8fcb8ebb31 r1.31; Issue 148/149: error message on bad column maps borked due to sequential access 2014-08-26 19:58:08 +01:00
Marc Gravell b3927ce134 don't rely on First() on a dictionary for default feature support 2014-08-14 15:42:22 +01:00
Marc Gravell d0f880d196 1.30: better async cancellation 2014-08-14 10:44:18 +01:00
Marc Gravell d3afa33f69 Add test for SO25069578 (cannot repro) 2014-08-07 10:21:45 +01:00
Marc Gravell 451d50ba5e 1.29: make Underscore_Names opt-in 2014-08-06 21:23:04 +01:00
Marc Gravell ce23d47d22 1.28 release 2014-08-06 16:47:21 +01:00
Marc Gravell cbb3f4c62c Minor test tweak 2014-08-06 16:42:15 +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 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 8f31bdc291 Added ExecuteScalar (issue 22), and optional plan caching 2014-08-05 16:09:14 +01:00
Marc Gravell 5039ea1c3c Issue 130: don't try to convert to object 2014-08-05 13:08:22 +01:00
Marc Gravell 621e73751a 1.27 release 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 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
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 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 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
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
Marc Gravell 12d7617fc1 Fix and tests for http://stackoverflow.com/q/23696254/23354 2014-05-16 15:36:43 +01:00
Marc Gravell 9e5d28e42a Command recycling and disposing during pipelined async multi-exec; enable pipeline (via sync-over-async) for sync API 2014-05-14 17:29:40 +01:00
Marc Gravell 10c51f427f async multiplexed / pipeline implemented 1.24 2014-05-14 15:36:03 +01:00
Marc Gravell 977bbb0a79 "@foo unknown" detection and handling (query optimizer hints) 2014-05-12 14:59:05 +01:00
Marc Gravell 9071f65206 Missed some ConfigureAwait 2014-05-09 09:59:31 +01:00
Marc Gravell 87f71d3dfa 1.22: support literal replacement on enumerable values for "in" etc 2014-05-08 15:39:03 +01:00
Marc Gravell 8a875b8743 1.21 metadata 2014-05-08 14:34:58 +01:00
Marc Gravell 6d1cc13cfd Limit literals to numeric types; for enums, use the value, not the name 2014-05-08 14:33:29 +01:00
Marc Gravell 6d589f05f7 Metadata for 1.20 release 2014-05-08 12:36:37 +01:00
Marc Gravell 7cdecbc7c9 async literal replacement and multi-exec tests 2014-05-08 11:57:26 +01:00
Marc Gravell 9afb2fca1d Introducing: literal value replacements, i.e. where row.Id={=id} - use rarely, but to avoid query-plan poisoning 2014-05-08 10:06:10 +01:00
Marc Gravell 056b22a55b Manually apply pull request #96 via olegKoshmeliuk 2014-05-07 14:56:00 +01:00
Marc Gravell 2a3bf22f98 Merge pull request #99 from tms/cultural-paramter-filtering
Make parameter filtering truly culture-insensitive
2014-05-07 14:43:24 +01:00
Marc Gravell 046dbcf4ac Fixes to ExecuteReader for new API; also adds ExecuteReaderAsync; also fix null parameters which broke in an unrelated pull request 2014-05-07 14:33:36 +01:00
Marc Gravell bd33588ddb Update EF test to EF6 code-first (removed edmx) 2014-05-07 13:22:00 +01:00