Open GoogleCodeExporter opened 9 years ago
Can you post some code on how you did it?
Original comment by cjcame...@gmail.com
on 15 Sep 2011 at 4:10
My changed (sorry - not sure that's the latest one i've used in a project)
version attached, apply SqlName attribute with your db field name specified to
a field or property.
Original comment by daniil.b...@gmail.com
on 15 Sep 2011 at 4:41
Attachments:
Dude, see issue 50 and vote it :)
Original comment by sdsilve...@gmail.com
on 2 Dec 2011 at 12:05
Is there any way to do this with the current version?
example:
class Person
{
[TableColumnAnnotation("p_id")]
int PersonId { get; set;}
....
}
So dapper can get the Annotation from the class definition and map it to the
table column name...
Original comment by martinez...@gmail.com
on 17 Jan 2014 at 2:54
Original issue reported on code.google.com by
daniil.b...@gmail.com
on 29 Jul 2011 at 4:31