예제 #1
0
        public static Oeblanketdeleteresults BuildOeblanketdeleteresultsFromRow(DataRow row)
        {
            Oeblanketdeleteresults entity = new Oeblanketdeleteresults();

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