public List <FarmProductionCurrentRecord> retrieveAllCurProd() { List <FarmProductionCurrentRecord> allRecords = new List <FarmProductionCurrentRecord>(); foreach (DAL.FarmCurrentProductionLive pl in _entities.FarmCurrentProductionLive) { FarmProductionCurrentRecord rec = new FarmProductionCurrentRecord(pl); allRecords.Add(rec); } return(allRecords); }
public List<FarmProductionCurrentRecord> retrieveAllCurProd() { List<FarmProductionCurrentRecord> allRecords = new List<FarmProductionCurrentRecord>(); foreach (DAL.FarmCurrentProductionLive pl in _entities.FarmCurrentProductionLive) { FarmProductionCurrentRecord rec = new FarmProductionCurrentRecord(pl); allRecords.Add(rec); } return allRecords; }