public static Oeipcreatequotesorder BuildOeipcreatequotesorderFromRow(DataRow row) { Oeipcreatequotesorder entity = new Oeipcreatequotesorder(); 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 UpdateRowFromOeipcreatequotesorder(ref DataRow row, Oeipcreatequotesorder entity) { row.SetField("orderno", entity.orderno); row.SetField("ordersuf", entity.ordersuf); }