예제 #1
0
        public RebatesProgress ProcessRebatesReportStatus()
        {
            Dictionary <String, String> d = new Dictionary <String, String>();

            using (GBHODBEntities db = new GBHODBEntities())
            {
                return((from x in db.ProcessRebatesReportStatus()
                        select new RebatesProgress()
                {
                    Total = x.Total.Value,
                    Processed = x.Processed.Value
                }).FirstOrDefault());
            }
        }