Exemple #1
0
        public static Oeheadertaxrecalccriteria BuildOeheadertaxrecalccriteriaFromRow(DataRow row)
        {
            Oeheadertaxrecalccriteria entity = new Oeheadertaxrecalccriteria();

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