88 Commits

Author SHA1 Message Date
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
mgravell 86ea6f60b0 silly devenv 2011-10-29 00:11:09 +01:00
marc.gravell@gmail.com a8287501db Guid fix; IMPORTANT 2011-10-29 00:07:04 +01:00
mgravell b55cc9a4a8 test for SO7908830 2011-10-26 22:14:30 +01:00
Sam Saffron 6d16ac8fe7 Add struct support to dapper 2011-10-25 18:51:48 +11:00
Sam Saffron 432ae180e9 reorganised the multi mapper
added support for schema changes - schema can now change and dapper will re-generate the deserializers.
2011-09-13 15:34:28 +10:00
Sam Saffron 27b41cc5a7 Add support for DynamicParams to append objects
EG:

  DynamicParameters p = new DynamicParameters();
  p.AddDynamicParams(new { A = 1, B = 2 });
  p.AddDynamicParams(new { C = 3, D = 4 });

Expose some more of dapper's internals
2011-09-05 13:44:46 +10:00
Marc Gravell c873a24ddb FIX: work with non-public constructors 2011-08-04 07:14:59 +01:00
mgravell 0afbdda528 add .NET 3.5 test rig 2011-07-25 07:28:07 +01:00
mgravell 7154532eb5 bad merge 2011-07-19 07:15:12 +01:00
mgravell c6e1468565 Automated merge with https://dapper-dot-net.googlecode.com/hg/ 2011-07-19 07:09:52 +01:00
mgravell 3ce97f74e0 add Binary support 2011-07-19 07:08:26 +01:00
Sam Saffron 0de43b9575 fix for crazy multi mapping ... backwards compatible - allow for the Split to be in the first type. 2011-07-19 15:44:52 +10:00
Sam Saffron c3e7dbc9f2 fixed #47 Get now supports DBNull properly 2011-07-19 15:07:01 +10:00
Sam Saffron 9ec29b7771 multi mapper for grid has a serious bug ... 2011-07-19 14:54:52 +10:00
Sam Saffron 304d2b001b improve error message when multi mapper is misused 2011-07-13 17:20:51 +10:00
mgravell be15592bac special case handling for char 2011-07-04 22:47:29 +01:00
mgravell 5a7c570a78 better error message for impossible props; filter props/params when possible 2011-06-29 14:02:52 +01:00
Sam Saffron fcd385fd97 test for multi command with a strong type 2011-06-28 12:00:03 +10:00
Sam Saffron 2706855a53 add support for weakly typed arrays, aka object array. 2011-06-28 11:42:25 +10:00
Dmitry Naumov cb2ebea032 Added NHibernate test. NHibernate now uses stateless session. 2011-06-22 13:49:17 +04:00
Sam Saffron db1c00a8d3 Added support for a multi mapping grid reader 2011-06-14 11:00:14 +10:00
mgravell d9ef0084c3 binary as a naked type 2011-06-07 21:39:03 +01:00
mgravell 06abcbdfeb oops, fix crappy perf; also take out all @ code from parameters' 2011-06-06 13:09:06 +01:00
mgravell 0a28a98e36 Automated merge with https://dapper-dot-net.googlecode.com/hg/ 2011-06-06 10:32:18 +01:00
mgravell b451cd5aef SO parent child example 2011-06-06 10:31:37 +01:00
Sam Saffron 722c092d33 addparameter was the wrong name, this sets up multiple
added test for TVP
2011-06-06 10:27:57 +10:00
Marc Gravell 37dd946871 support enum params and nullable-T params 2011-06-05 11:11:06 +01:00
mgravell b0b39807fd enable BindByName when available 2011-06-02 21:34:47 +01:00
Sam Saffron 59efad4045 merge 2011-06-02 11:16:23 +10:00
Sam Saffron 723e51b44c added a private prop test 2011-06-02 11:15:57 +10:00
mgravell fdc7a1efb9 hybrid parameters for new DynamicParameters(template) 2011-06-01 12:48:31 +01:00
mgravell b7245aace0 auto-magic if we are given a sequence of parameter values 2011-06-01 12:31:47 +01:00
mgravell 236a948d2c parse enums from string, ala L2S 2011-06-01 11:38:57 +01:00
Sam Saffron 1f7d2be327 added demo of IDictionary support for expando 2011-05-30 09:52:08 +10:00
Sam Saffron 3f41112006 Merge in dapper contrib
Add perf test for dapper contrib
Optimise Get perf for dapper contrib
2011-05-23 12:44:57 +10:00
mgravell 6b092ad8dc new DbString support 2011-05-20 09:59:13 +01:00
mgravell b5fa7cf0ca standardise perf tests on First(); measure buffered and unbuffered (dapper only); introduce * splits, useful for creating tuples of primitives 2011-05-18 13:11:52 +01:00