101 Commits

Author SHA1 Message Date
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
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
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
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