public List <FarmProductionRealRecord> retrieveAllRealProd() { List <FarmProductionRealRecord> allRecords = new List <FarmProductionRealRecord>(); foreach (DAL.FarmRealProductionLive pl in _entities.FarmRealProductionLive) { FarmProductionRealRecord rec = new FarmProductionRealRecord(pl); allRecords.Add(rec); } return(allRecords); }
public List<FarmProductionRealRecord> retrieveAllRealProd() { List<FarmProductionRealRecord> allRecords = new List<FarmProductionRealRecord>(); foreach (DAL.FarmRealProductionLive pl in _entities.FarmRealProductionLive) { FarmProductionRealRecord rec = new FarmProductionRealRecord(pl); allRecords.Add(rec); } return allRecords; }