Beispiel #1
0
        public static Oetenderhistorycriteria BuildOetenderhistorycriteriaFromRow(DataRow row)
        {
            Oetenderhistorycriteria entity = new Oetenderhistorycriteria();

            entity.orderno  = row.IsNull("orderno") ? 0 : row.Field <int>("orderno");
            entity.ordersuf = row.IsNull("ordersuf") ? 0 : row.Field <int>("ordersuf");
            return(entity);
        }
Beispiel #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOetenderhistorycriteria(ref DataRow row, Oetenderhistorycriteria entity)
 {
     row.SetField("orderno", entity.orderno);
     row.SetField("ordersuf", entity.ordersuf);
 }