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

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