Beispiel #1
0
        public List<FarmConsumptionRealRecord> retrieveAllRealProd()
        {
            List<FarmConsumptionRealRecord> allRecords = new List<FarmConsumptionRealRecord>();

            foreach (DAL.FarmRealConsumptionLive pl in _entities.FarmRealConsumptionLive)
            {
                FarmConsumptionRealRecord rec = new FarmConsumptionRealRecord(pl);
                allRecords.Add(rec);
            }
            return allRecords;
        }
Beispiel #2
0
        public List <FarmConsumptionRealRecord> retrieveAllRealProd()
        {
            List <FarmConsumptionRealRecord> allRecords = new List <FarmConsumptionRealRecord>();

            foreach (DAL.FarmRealConsumptionLive pl in _entities.FarmRealConsumptionLive)
            {
                FarmConsumptionRealRecord rec = new FarmConsumptionRealRecord(pl);
                allRecords.Add(rec);
            }
            return(allRecords);
        }