摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; using System.Data; u 阅读全文
摘要:
参考https://www.cnblogs.com/shiyh/p/7478241.html Table to List 一、 static public List<T> Tolist<T>(DataTable dt) where T : class, new() { Type t = typeof 阅读全文
摘要:
转 方式一 使用二进制 4 public static class ObjectCopier 5 { 6 public static T Clone<T>(T source) 7 { 8 if (!typeof(T).IsSerializable) 9 { 10 throw new Argument 阅读全文