Esempio n. 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;
        }
Esempio n. 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);
        }