Esempio n. 1
0
        public static Kptallymixlookupcriteria BuildKptallymixlookupcriteriaFromRow(DataRow row)
        {
            Kptallymixlookupcriteria entity = new Kptallymixlookupcriteria();

            entity.prod = row.IsNull("prod") ? string.Empty : row.Field <string>("prod");
            entity.whse = row.IsNull("whse") ? string.Empty : row.Field <string>("whse");
            return(entity);
        }
Esempio n. 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromKptallymixlookupcriteria(ref DataRow row, Kptallymixlookupcriteria entity)
 {
     row.SetField("prod", entity.prod);
     row.SetField("whse", entity.whse);
 }