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); }
/// <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); }