Commit Graph
437 Commits
Author SHA1 Message Date
vosen 00e7d7089a Slightly improved error message for when we can't find a proper constructor. 2012-03-05 12:23:28 +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 adb4a35c88 Add support for chars. 2012-03-04 12:48:39 +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 4d11174b22 Fix a logical bug when matching constructor parameters. 2012-03-03 15:03:31 +01:00
vosen b2a9db1731 Fix for buggy behaviour in the last commit. 2012-03-03 14:37:06 +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 d14d42dd37 Remember to pop dbnull from the stack. 2012-03-02 17:47:28 +01:00
vosen c7dd5f0de8 Fix broken IL when generating default value-typed values. 2012-03-02 17:06:06 +01:00
vosen 7fe87dc670 Change test a bit to cover instantiating default values. 2012-03-02 16:01:11 +01:00
vosen 57d885ac58 Fix indexing mistake. 2012-03-02 15:41:50 +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
Xavier Poinas a561cb987e Added support for INNER JOIN and RIGHT JOIN in SqlBuilder 2012-02-14 21:55:52 +01:00
Sam Saffron edd142d425 Merge branch 'master' of github.com:SamSaffron/dapper-dot-net 2012-01-23 10:17:12 +11:00
Sam bce2528540 Merge pull request #15 from greygeek/master
Added postresql support for Insert to return primary key of inserted row.
2012-01-22 15:15:30 -08:00
David Chell d57970fbc3 Removed POSTGRESQL define and added SqlAdapter dictionary to handle variances in DBMSs 2012-01-19 14:41:07 +13:00
David Chell ee98aa539b Merge branch 'master' of https://github.com/SamSaffron/dapper-dot-net
Conflicts:
	Dapper.Contrib/SqlMapperExtensions.cs
2012-01-18 11:29:28 +13:00
Sam Saffron a7c0a64b07 package added notes 2012-01-13 10:16:13 +11:00
Sam Saffron e9d167e9e2 more info 2012-01-13 10:01:25 +11:00
Sam Saffron 28c33d454f Dapper rainbow is now on nuget 2012-01-12 17:05:11 +11:00
Sam Saffron c9160c13fb Upped dapper to 1.8
Broke SqlBuilder to another assembly
Added Dapper.Rainbow (minimal ORM)
Changed nuget to distribute DLLs
1.8
2012-01-12 15:22:01 +11:00
unknown 4d1d028bff Adding GroupBy and Having to SqlBuilder (contrib) 2012-01-10 14:12:48 -05: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 d9306233fb concurrency fix, in case we allow for deleting of caches 2011-11-23 17:53:32 +11:00
Sam Saffron 33959b3a53 more ignores 2011-11-23 14:51:50 +11:00
sam.saffron@gmail.com 01d586c237 merge 2011-11-23 14:42:52 +11:00
Sam Saffron 4a4574451f merge 2011-11-23 14:20:20 +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 30c4851053 nuspec 2011-11-05 00:47:41 +00:00
mgravell 67d0ac67b1 remove System.Data.Linq ref 2011-11-05 00:38:44 +00: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
Tim Stone 6f7078a764 Added trailing space to JOIN prefix to prevent JOIN<table> error in RawSql 2011-11-02 14:34:11 -04: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