Commit Graph

1603 Commits

Author SHA1 Message Date
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
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 106ca014ec no more xml warnings 2011-10-06 18:33:12 +11:00
Sam Saffron e51023417f no more xml warnings 2011-10-06 18:33:12 +11:00
kmontrose b9d13e811b Merge 2011-09-27 15:28:58 -04:00
kmontrose 377bf3f424 Merge 2011-09-27 15:28:58 -04:00
kmontrose 5223d9b065 Adding join and fixing a bug with chaining dynamic parameters. 2011-09-27 15:28:05 -04:00
kmontrose a0b36c470f Adding join and fixing a bug with chaining dynamic parameters. 2011-09-27 15:28:05 -04:00
Sam Saffron e2c3c07732 patch by matt...@amigarulez.se, Some grids active/Telerik and other edge cases use reflection and other methods to cache members.
Current implementation results in inconsistent between the wrapper object and the underlying dictionary because the DynamicObject members are returned and not the underlying dictionary.

Simple fix basically add an override to FastExpando class and reflection acts consistently.
2011-09-27 10:05:32 +10:00
Sam Saffron 83171792b0 patch by matt...@amigarulez.se, Some grids active/Telerik and other edge cases use reflection and other methods to cache members.
Current implementation results in inconsistent between the wrapper object and the underlying dictionary because the DynamicObject members are returned and not the underlying dictionary.

Simple fix basically add an override to FastExpando class and reflection acts consistently.
2011-09-27 10:05:32 +10:00
Sam Saffron abc8f9823e typo 2011-09-26 17:04:31 +10:00
Sam Saffron 461cad0d03 typo 2011-09-26 17:04:31 +10:00
mgravell aaa3f60b18 patch applied for issue 66 2011-09-26 06:42:43 +01:00
mgravell 474e361462 patch applied for issue 66 2011-09-26 06:42:43 +01:00
kmontrose 20f682cdba Contrib - SqlBuilder option to add just parameters, outside of a specific clause. 2011-09-20 15:37:55 -04:00
kmontrose a1d2efd50e Contrib - SqlBuilder option to add just parameters, outside of a specific clause. 2011-09-20 15:37:55 -04:00
kmontrose 71a941085e Making it so SqlBuilder templates resolve properly even if no clauses have been added. 2011-09-19 20:33:55 -04:00
kmontrose 5fb0d1c3f0 Making it so SqlBuilder templates resolve properly even if no clauses have been added. 2011-09-19 20:33:55 -04:00
kmontrose f982917b7f Adding select composition to SqlBuilder (Contrib). 2011-09-19 20:27:36 -04:00
kmontrose adf35ffc01 Adding select composition to SqlBuilder (Contrib). 2011-09-19 20:27:36 -04:00
mgravell 86795a1688 clean param-names in DynamicParameters 2011-09-16 13:26:42 +01:00
mgravell ded52a5e04 clean param-names in DynamicParameters 2011-09-16 13:26:42 +01:00
mgravell 3124634035 less <T>, to avoid TargetInvoke woe 2011-09-13 08:07:21 +01:00
mgravell a5c0295c90 less <T>, to avoid TargetInvoke woe 2011-09-13 08:07:21 +01:00
Sam Saffron 09c5c4364e 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 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
mgravell 316aa772e7 salt the earth if we start getting multiple errors; the risk here is that it is a schema change that impacts multiple queries 2011-09-12 09:44:27 +01:00
mgravell a1d6b26540 salt the earth if we start getting multiple errors; the risk here is that it is a schema change that impacts multiple queries 2011-09-12 09:44:27 +01:00
David Chell 390ba5b45e Made Postgresql specific insert handle entities with no primary keys. 2011-09-12 08:00:35 +12:00
David Chell 1a506e8e81 Fixed Insert not inserting when the object had no primary key. 2011-09-09 16:52:00 +12:00
David Chell 0d9705b416 Postgres insert implementation now only retrieves keys instead of the entire row.
Added [Write(true|false)] attributes to class properties, enables the presence of properties that don't get inserted/updated in the database.
2011-09-07 13:49:22 +12:00
sam.saffron@gmail.com 13c548fdb1 merge 2011-09-07 09:26:13 +10:00
sam.saffron@gmail.com 7392a4e322 merge 2011-09-07 09:26:13 +10:00