public static Icwarehouseglfetchcriteria BuildIcwarehouseglfetchcriteriaFromRow(DataRow row) { Icwarehouseglfetchcriteria entity = new Icwarehouseglfetchcriteria(); entity.whse = row.IsNull("whse") ? string.Empty : row.Field <string>("whse"); return(entity); }
/// <summary> /// Update a database row from a class /// </summary> public static void UpdateRowFromIcwarehouseglfetchcriteria(ref DataRow row, Icwarehouseglfetchcriteria entity) { row.SetField("whse", entity.whse); }