Commit Graph

5 Commits

Author SHA1 Message Date
James Holwell d149e0c2fc Make Dapper.Contrib.Tests prompt in the same way as others at the end of the tests 2014-07-28 14:16:27 +01:00
Rick Bundren 7fd9b97355 Support for reserved words as columns
Insert failed when a word such as order was used as a column name.
Added [] around the column name.

Also modified the test for InsertGetUpdate().  The first Get is now a
User instead of IUser.  There is some bug where using the interface
twice first on a null result and then on the real result causes the
reader to not be open when trying to map the type.
2012-11-15 11:20:12 -05:00
johan@JOHAN-DELL-SSD.irm.se 11f393d59c Added support for table name attribute on POCO class, should work with ANY attribute named "TableAttribute" that has a "Name" property for it's value (supplied one, and also tested with the Table-attribute in EntityFramework). Cleaned up ProxyGenerator for readability. 2011-05-23 23:47:02 +02: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
johan@JOHAN-DELL-SSD.irm.se a92c8091c0 first version of Get<T>(id), Insert<T>(obj), Update<T>(obj) and Delete<T>(obj) 2011-05-21 23:27:57 +02:00