public static IList <Sp_customPropertyValue> TransDataTableToEntityList(DataTable dt)
        {
            IList <Sp_customPropertyValue> list = new List <Sp_customPropertyValue>();
            Sp_customPropertyValue         sp_customPropertyValue = null;

            for (int i = 0; i < dt.Rows.Count; i++)
            {
                sp_customPropertyValue = new Sp_customPropertyValue();
                foreach (DataColumn dataColumn in dt.Columns)
                {
                    sp_customPropertyValue.EntityCustom.SetValue(dataColumn.ColumnName, dt.Rows[i][dataColumn]);
                }
                list.Add(sp_customPropertyValue);
            }
            return(list);
        }
 public static string ConnectValuesWithChar(IList <Sp_customPropertyValue> list, string fieldName, WrapCharType wrapCharType, bool trim)
 {
     return(Sp_customPropertyValue.ConnectValuesWithChar(list, fieldName, ',', wrapCharType, trim));
 }