Marc Gravell
d9f2801f0d
1.36 release
2014-10-14 15:49:53 +01:00
Marc Gravell
c8aa54b2be
Fix issue 178: ExecuteReader now returns a wrapper around the command/reader pair, so that the lifetime of the command is extended
...
Also improve documentation around use of "dynamic" in Query()
2014-10-14 15:44:25 +01:00
Marc Gravell
db4e7a0a43
Fix issue 192
2014-10-14 14:49:13 +01:00
Marc Gravell
1f341bb611
Release 1.35
2014-09-29 09:02:49 +01:00
Marc Gravell
7336bfb58d
fix Issue151: ExpandoObject should work with Execute
2014-09-29 08:10:33 +01:00
Marc Gravell
5917143eb3
Issue 182: richer DBType support when using object/dynamic parameters
2014-09-26 09:41:00 +01:00
Marc Gravell
66ad543862
Be more selective (confident) about pseudo-positional pattern before nuking the parameters
2014-09-23 11:08:58 +01:00
Marc Gravell
550ded8875
redundant upper/lower case in regex
2014-09-23 10:00:59 +01:00
Marc Gravell
6416adf977
Support named positional parameters
2014-09-23 09:51:40 +01:00
Matt Wilkinson
d2cce62dca
Fixes StackExchange/dapper-dot-net#152
...
Allows use of IDictionary<string, object> as parameter objects.
I'm assuming that the && was a mistake, and that this logic should
handle both of the types equally well.
Also allows .NET 3.5 to use the IDictionary case.
2014-09-22 06:41:51 +01:00
Marc Gravell
b919a8d823
Merge branch 'FixDbStringList' of https://github.com/maurocerutti/dapper-dot-net into maurocerutti-FixDbStringList
...
Conflicts:
Dapper NET40/SqlMapper.cs
2014-09-15 19:41:46 +01:00
Marc Gravell
79e1e3abc9
move the parameter callbacks onto a method that custom implementations can also use
2014-09-15 19:31:27 +01:00
Derek Gray
9ff6cd1785
Fixed regression with sproc tests
2014-09-15 08:58:06 -05:00
Marc Gravell
bbbe18d5c1
Merge branch 'arbitrary-multi-maps' of https://github.com/Polylytics/dapper-dot-net into Polylytics-arbitrary-multi-maps
...
Conflicts:
Dapper NET45/SqlMapperAsync.cs
2014-09-15 14:13:18 +01:00
Marc Gravell
3cd31e42b0
Merge branch 'arbitrary-multi-maps' of https://github.com/Polylytics/dapper-dot-net into Polylytics-arbitrary-multi-maps
...
Apply recent changes (output callbacks)
Conflicts:
Dapper NET45/SqlMapperAsync.cs
2014-09-15 14:04:31 +01:00
Marc Gravell
863c4c27a7
Merge branch 'master' into fix_detached_head
2014-09-15 13:22:12 +01:00
Marc Gravell
b87d958314
Rationalize FireOutputCallbacks, and apply to remaining methods
2014-09-15 11:48:14 +01:00
Marc Gravell
bef7af6be6
Avoid type-name conflicts causing cache conflicts (makes the cache per-T; also avoids locking on the happy-path)
2014-09-15 10:48:15 +01:00
Marc Gravell
c03040da98
don't init outputCallbacks unless there are callbacks
2014-09-15 10:38:11 +01:00
Derek
f52d67f180
Added output member expressions to DynamicParameters; included tests as well
2014-09-14 20:36:37 -05:00
Igor Shuvalov
727ba274d2
Fix improper oledb parameter regex detection
...
Depends on Issue 174
https://code.google.com/p/dapper-dot-net/issues/detail?id=174
2014-09-11 16:39:48 +04:00
James Holwell
ccc189c27a
Merge remote-tracking branch 'upstream/master' into arbitrary-multi-maps
...
Conflicts:
Dapper NET45/SqlMapperAsync.cs
2014-09-02 17:13:09 +01:00
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
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
3691fe138c
allow null arrays on suitable RDBMS
2014-08-21 10:39:45 +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
451d50ba5e
1.29: make Underscore_Names opt-in
2014-08-06 21:23:04 +01:00
James Holwell
3b0fd2d07b
fix up the arbitrary length multi map methods with new command.AddToCache parameter
2014-08-06 19:42:45 +01:00
James Holwell
3d39a115ad
Merge remote-tracking branch 'upstream/master' into arbitrary-multi-maps
...
Conflicts:
Dapper NET45/SqlMapperAsync.cs
2014-08-06 19:39:56 +01:00
Marc Gravell
ce23d47d22
1.28 release
2014-08-06 16:47:21 +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
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
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
8f31bdc291
Added ExecuteScalar (issue 22), and optional plan caching
2014-08-05 16:09:14 +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
5039ea1c3c
Issue 130: don't try to convert to object
2014-08-05 13:08:22 +01:00
James Holwell
ae30d96bdb
added support for arbitrarily many types in multi mapping
2014-07-28 18:27:41 +01:00
James Holwell
c92d1d044c
Add reference to System.XML
2014-07-28 14:14:27 +01:00