2019年2月27日

C# 对象复制

摘要: /// /// 把DataTable对象转成List对象 /// /// /// /// public static List ConvertToModel(this DataTable table) where T : new() { var list = new List(); PropertyInfo[] propertys = typeof(T).GetProp... 阅读全文

posted @ 2019-02-27 13:50 wangzhiliang 阅读(315) 评论(0) 推荐(0) 编辑

导航