コード例 #1
0
ファイル: Services.cs プロジェクト: afitzy111/ComparisonData
        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;
        }
コード例 #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);
        }