Пример #1
0
        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);
        }
Пример #2
0
        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;
        }