devio.wordpress.com
Get Property Name as String Value
If you use an ORM (such as EF or NHibernate), you end up with classes for each mapped table, and its fields mapped to properties: public class Foo { public int FooID { get; set; } public string…