Marc Gravell
37329c8dd6
Async; manual merge of https://github.com/SamSaffron/dapper-dot-net/pull/49
...
- huge thanks to bkaid
2013-05-23 16:02:58 +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
David Chell
eed8b6f520
Added test for insert updating object's key
2012-03-12 12:57:40 +13:00
Sam Saffron
c9160c13fb
Upped dapper to 1.8
...
Broke SqlBuilder to another assembly
Added Dapper.Rainbow (minimal ORM)
Changed nuget to distribute DLLs
2012-01-12 15:22:01 +11: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
adf35ffc01
Adding select composition to SqlBuilder (Contrib).
2011-09-19 20:27:36 -04:00
Sam Saffron
b60c0a53f5
depending on data annotations is a mistake, it is not in client profile
2011-06-28 13:07:42 +10: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
1a87102af7
fixed bug in tests, added support for non-tracked concrete class in Get(), emitting a concrete class which seems stupid, but works (due to the generic get method returning both interface and new class)
2011-05-22 13:06:42 +02:00
johan@JOHAN-DELL-SSD.irm.se
f38d110380
Fixed bug on Get when there is no record found, cleaned up unused code
2011-05-21 23:58:53 +02: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