Example #1
0
        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);
        }
Example #2
0
        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;
        }