Exemple #1
0
        public static Getmultiloclistcriteria BuildGetmultiloclistcriteriaFromRow(DataRow row)
        {
            Getmultiloclistcriteria entity = new Getmultiloclistcriteria();

            entity.coNum      = row.IsNull("co_num") ? string.Empty : row.Field <string>("co_num");
            entity.whNum      = row.IsNull("wh_num") ? string.Empty : row.Field <string>("wh_num");
            entity.reportName = row.IsNull("reportName") ? string.Empty : row.Field <string>("reportName");
            entity.binLoc     = row.IsNull("binLoc") ? string.Empty : row.Field <string>("binLoc");
            entity.userfield  = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }