public static System.Collections.Generic.IList <Sys_sysEnumItem> TransDataTableToEntityList(DataTable dt)
        {
            System.Collections.Generic.IList <Sys_sysEnumItem> list = new System.Collections.Generic.List <Sys_sysEnumItem>();
            Sys_sysEnumItem sys_sysEnumItem = null;

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