摘要: 解决方案 通过反射的方式获取类型中的所有属性。引用命名空间 using System.Reflection;实体类 public class User { private string id; public string Id { get { return id; } set { id = value; } } private string name; public string Name { get { return name; } set { name = value; } } }获取方法 private Property... 阅读全文
posted @ 2013-07-25 10:24 落冰 阅读(370) 评论(0) 推荐(0) 编辑