Anatoly Zhmur
2d01bfe730
Fixed issue with incorrect generated ParamReader then it has indexing properties declared.
2012-09-18 15:52:35 +04:00
Marc Gravell
da2334ac81
IL level type-remapping, so i8 / i4 are interchangeable, etc. This avoids issues on databases that return 1 as bigint by default, etc
2012-09-13 14:10:42 +01:00
Anatoly Zhmur
8621792eb6
Added support for custom property/field mapping in TypeDeserializer
2012-09-04 08:38:05 +01:00
Marc Gravell
4a9f05009c
The "first column as null gives null object" is by-design;
...
tweak tests to represent this (and workaround)
Added [ActiveTest] to allow trivial debugging individual tests
2012-08-07 12:03:24 +01:00
Marc Gravell
d0331a0300
Merge pull request #36 from jkonecki/2b04c22
...
Replicated a bug 'Dapper MultiMap doesn't work with splitOn with NULL value'
2012-08-07 03:36:00 -07:00
Marc Gravell
e79dcff3a4
Merge pull request #45 from jkonecki/6dfdbf9306759118e3d0e086e85df9f90d736624
...
Fix for issue #70 (support for TimeSpan)
2012-08-07 03:33:21 -07:00
Marc Gravell
63d37477b5
Merge branch 'fsharp' of https://github.com/vosen/dapper-dot-net into vosen-fsharp
...
Conflicts:
Dapper/SqlMapper.cs
2012-08-07 11:19:02 +01:00
Marc Gravell
840a766d41
VS2012 sln; avoid a few build warnings
2012-08-07 09:28:41 +01:00
Jakub Konecki
6dfdbf9306
Added support for TimeSpan
...
Fix for issue #70
(http://code.google.com/p/dapper-dot-net/issues/detail?id=70 ) and also
related MS bug with DbType.Time
(https://connect.microsoft.com/VisualStudio/feedback/details/381934/sqlparameter-dbtype-dbtype-time-sets-the-parameter-to-sqldbtype-datetime-instead-of-sqldbtype-time ).
2012-08-06 18:36:47 +01:00
Marc Gravell
cc293ed985
ThrowDataException could go screwy if the reader was closed; compensate
2012-06-27 19:51:51 +01:00
Marc Gravell
c7bb642466
Merge branch 'master' of https://code.google.com/p/dapper-dot-net/
2012-06-25 19:14:25 +01:00
Marc Gravell
116ea975b0
Support for ExpandoObject (or at least, "dynamic" and dictionary-like) to be treated directly as a parameter
2012-06-25 16:45:22 +01:00
Rich Czyzewski
282d29183d
Updated DynamicParameters to allow inheritance of the AddParameters method when subclassing for TVPs
2012-06-21 11:04:33 -04:00
unknown
7053c56fe0
Rewrite of the schema-change handling; the "see if it errors, then recalc" is, it turns out, stupid.
2012-06-11 12:49:30 +01:00
Jakub Konecki
2b04c22f08
MultiMap doesn't work with NULL values
...
Replicated a bug 'Dapper MultiMap doesn't work with splitOn with NULL
value' reported on SO http://stackoverflow.com/q/10744728/449906 .
Dapper doesn't create an instance of the class if the first property
after split is mapped to a column with NULL value.
2012-05-28 23:37:19 +01:00
unknown
b8dedd0eee
Added a test to compare performance to DataTable (via IDataReader.GetValues)
2012-05-24 13:50:24 +01:00
unknown
77dde93327
Support enums (and nullable enums) in Query<T>, and check (extra tests) that they work fine for regular T with an enum / nullable-enum member
2012-05-10 13:15:51 +01:00
Brannon Jones
081799e678
Adding support for appending a dictionary/expando to DynamicParameters.
2012-04-18 12:11:39 -07:00
Brannon Jones
63062d96ae
Adding support for commands with an existing/default/inherited transaction.
2012-04-18 10:58:07 -07:00
Sam Saffron
d0b9bf9cd5
no dapper contrib in dapper tests please
2012-04-03 11:23:51 +10:00
Sam Saffron
12a7911409
postgres tests default off
2012-04-03 11:02:34 +10:00
Brannon Jones
3e6ff61570
Fixing broken build: adding Npgsql package.
2012-03-30 15:18:25 -07:00
Sam
4326beacbb
Merge pull request #27 from greygeek/master
...
Added test for Posgresql Array parameters
2012-03-11 18:17:52 -07:00
David Chell
46ed9883ea
Added test for Posgresql Array parameters
2012-03-12 14:01:40 +13:00
vosen
6799063c8b
Add test for multimapping with constructors.
2012-03-05 12:34:47 +01:00
vosen
fe9b9f5a82
Improve logic for choosing constructor in type deserializator generator.
...
Now we choose by accessibility level, with importance: public > internal == protected > private and then by number of arguments: giving priority to the argumentless constructor.
2012-03-04 13:28:30 +01:00
vosen
babdd17099
Improve tests
2012-03-04 12:44:45 +01:00
vosen
c54e5b563c
Match constructor parameters properly.
2012-03-03 17:14:23 +01:00
vosen
8da756e983
Support for binary data.
2012-03-03 16:07:54 +01:00
vosen
5aad5f4012
Add support for nullable types and fix c# 3.0 compatibility bug.
2012-03-03 15:33:59 +01:00
vosen
2fef85e73d
Add support for enums in non-default constructor initalization and fix earlier test
2012-03-03 14:24:22 +01:00
vosen
b772a7bcb4
Extend test for non-default parameter initialization with enum.
2012-03-03 13:18:25 +01:00
vosen
7fe87dc670
Change test a bit to cover instantiating default values.
2012-03-02 16:01:11 +01:00
vosen
b73acfcecf
Add support for types with constructors matching the types pulled by data reader.
2012-03-02 15:37:15 +01:00
Sam
f97241e564
Merge pull request #22 from xps/master
...
Small but useful (I think) additions
2012-02-17 03:15:22 -08:00
Sam Saffron
dd7bdd3c2a
Make Nick happy, better error for constructorless types
2012-02-16 10:58:22 +11:00
Xavier Poinas
22bf22c18c
Added support for reading multiple result sets as dynamic
2012-02-14 23:26:04 +01:00
Sam Saffron
69d5be3717
inheritance was wonky, internal props on inherited stuff could not be set
2012-01-06 09:54:12 +11:00
Sam Saffron
38b3f224d1
allow for lists of DbString in a 'IN' clause
2011-12-19 12:38:48 +11:00
Sam Saffron
cd8e345c8d
oops, test lied
2011-11-18 19:11:00 +11:00
mgravell
9a665245b6
added tests re Issue27/smallint
2011-11-15 20:03:21 +00:00
mythz@io
a4f4173bfe
new dlls.
2011-11-12 03:13:09 -05:00
Demis Bellot
f47548990b
new dlls
2011-11-11 19:00:20 -05:00
Demis Bellot
90bc66ad80
Made GetModelDefinition lock-free, changed Dapper to use more strong typed QueryById
2011-11-11 18:46:38 -05:00
Demis Bellot
a1e73f8562
latest dlls
2011-11-11 17:30:01 -05:00
Demis Bellot
c3a9589480
update latest dlls
2011-11-11 15:35:51 -05:00
Demis Bellot
f5190471e9
Add latest OrmLite dlls to Dapper
2011-11-11 13:06:58 -05:00
mgravell
f333c2f0de
allow Add to *replace* an existing template parameter in DynamicParameters, allowing for out/return/etc usage
2011-11-04 20:29:21 +00:00
mgravell
7eb0c48175
fix 'could destabilise runtime' error if structs threw an error; also tidied up the locals and made the func return the right type
2011-11-02 22:42:05 +00:00
Sam Saffron
76b930a456
fix regression with Guid mapping
2011-10-29 10:21:29 +10:00