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
Marc Gravell
dbd5455f1a
Async cleanup; implement missing async methods based on multiple pull requests, but introducing CommandDefinition to preserve binary compatibility while allowing new options
2014-05-07 12:41:59 +01:00
tms
4f1e5f9139
Make parameter filtering truly culture-insensitive
2013-10-24 13:10:14 -04:00
Marc Gravell
885a8d46cb
Provide support for OleDB / anonymous sql parameters
2013-09-18 10:38:19 +01:00
Marc Gravell
6802611b94
Fix double?/decimal? conversions (with test); added (currently failing; acknowledges current state) test re missing members
2013-08-14 11:22:55 +01:00
Marc Gravell
4e187f013a
Added example/test for http://stackoverflow.com/q/16796519/23354
2013-05-28 19:38:58 +01:00
Marc Gravell
61af54a5d0
(via lgsky) - multimap should auto-open/close as necessary
2013-05-24 12:10:55 +01:00
Marc Gravell
86476bc2a6
(courtesy @mrange) fix dictionary semantics of DapperRow
2013-05-24 11:52:22 +01:00
Marc Gravell
37329c8dd6
Async; manual merge of https://github.com/SamSaffron/dapper-dot-net/pull/49
...
- huge thanks to bkaid
2013-05-23 16:02:58 +01:00
Marc Gravell
9177586e1d
Merge pull request #81 from fbdegroot/master
...
Added support for TVP in anonymous objects
2013-05-23 07:08:47 -07:00
Marc Gravell
e414149faf
Implement connection-string equivalence (similar to https://github.com/SamSaffron/dapper-dot-net/pull/80 )
...
Fix Issue131
2013-05-23 14:52:11 +01:00
Marc Gravell
9ac9c4011b
Nulls in dynamic
2013-05-23 14:13:44 +01:00
Fabian de Groot
6815c6f0cf
Added support for TVP in anonymous objects
2013-05-02 14:57:55 +02:00
Marc Gravell
36f51540ce
http://code.google.com/p/dapper-dot-net/issues/detail?id=132 - EF change patches
...
@david.obando
2013-02-27 21:36:48 +00:00
Dave Peters
b82c275077
Fixed issue DapperTable
...
This fixes a bug found in CS 51509960 where the following sequence would
result in an InvalidOperationException being thrown due to an attempt to
access a disposed of DataReader:
- Perform a dynamic query that yields no results
- Add data to the source of that query
- Perform a the same query again
2012-11-15 12:37:25 -05:00
Marc Gravell
e8ead8d82e
FIX: Issue 120; buffered/non-buffered handling from GridReader
2012-10-26 08:11:19 +01:00
Marc Gravell
d9fedd9b24
Fix behavior when removing values/keys from DapperRow
2012-10-26 07:41:44 +01:00
Marc Gravell
51509960a1
Re-add DapperTable - slightly different approach
2012-10-21 21:55:19 +01:00
mrange
e14839f7ad
Updated IsEqualTo and IsSequenceEqualTo so that they don't throw if first parameter is null.
2012-10-21 20:37:12 +02:00
Marc Gravell
f390f72e7f
Implemented missing dictionary methods on FastExpando
2012-10-18 07:12:03 +01:00
Marc Gravell
f22447dfe8
Give more context when the GridReader is disposed; see http://stackoverflow.com/questions/12809907/
2012-10-10 12:17:47 +01:00
Marc Gravell
6ae42c2922
Add: feature 106; dapper takes control of the connection if needeed
2012-10-09 08:49:05 +01:00
Dmitriy Yudin
bce5e13748
Multi-Mapping SplitOn spaces between commass
...
There was a small issue when SplinOn spaces between commas, for example:
splitOn: "AddressId, Id".
For more info see:
http://stackoverflow.com/questions/11042618/dapper-multi-mapping-issue
I have modified below line of code:
From: var currentSplit = splits[splitIndex];
To: var currentSplit = splits[splitIndex].Trim();
Also added a test called:
TestMultiMappingWithSplitOnSpaceBetweenCommas()
2012-10-05 13:37:16 -07:00
Marc Gravell
92d1fbe57e
Fix list handling when using dynamic parameters; see http://stackoverflow.com/q/12723922/23354
2012-10-04 10:32:40 +01:00
Marc Gravell
7910f25bd5
When using AddDynamicParameters, watch out for duplicate parameters coming from templates
2012-10-03 12:06:05 +01:00