摘要:
public static string ToIds<T>(this List<T> list, string filedName) { if (list.Count() > 0) { StringBuilder sBuilder = new StringBuilder(); PropertyInfo[] properties = list[0].GetType().GetProperties(); foreach (var v in list) sBuilder.AppendFormat("'{0}',", propertie 阅读全文