怎么对字段很多的表写Dto
摘要:如果一个表有几十个字段,写Dto绝对是一个痛不欲生的事情,那么怎么办?用反射吧:public static string DynamicToClass(object entity, string className) { StringBuilder reval =...
阅读全文
posted @ 2015-05-27 22:00
posted @ 2015-05-27 22:00
posted @ 2015-05-18 13:18
posted @ 2015-05-14 21:55
posted @ 2015-05-09 19:50
posted @ 2015-05-03 23:15