コード例 #1
0
        public static FootTraffic GetFTByKioskAndToday(int kioskid, string date)
        {
            var dal = new FootTrafficDAL();

            var ins = new FootTraffic();

            foreach (DataRow dr in dal.GetFTByKioskAndToday(kioskid, date).Rows)
            {
                ins.Bind(dr);
            }

            return(ins);
        }
コード例 #2
0
        public static List <FootTraffic> ReportFTByDay(string from, string to, int kioskid)
        {
            var dal        = new FootTrafficDAL();
            var collection = new List <FootTraffic>();

            foreach (DataRow row in dal.ReportFTByDay(from, to, kioskid).Rows)
            {
                var ins = new FootTraffic();
                ins.Bind(row);
                collection.Add(ins);
            }

            return(collection);
        }
コード例 #3
0
        public static List <FootTraffic> ReportFTByMonth()
        {
            var dal        = new FootTrafficDAL();
            var collection = new List <FootTraffic>();

            foreach (DataRow row in dal.ReportFTByMonth().Rows)
            {
                var instance = new FootTraffic();
                instance.Bind(row);
                collection.Add(instance);
            }

            return(collection);
        }
コード例 #4
0
        public static List<FootTraffic> ReportFTByMonth()
        {
            var dal = new FootTrafficDAL();
            var collection = new List<FootTraffic>();

            foreach (DataRow row in dal.ReportFTByMonth().Rows)
            {
                var instance = new FootTraffic();
                instance.Bind(row);
                collection.Add(instance);
            }

            return collection;
        }
コード例 #5
0
        public static List<FootTraffic> ReportFTByDay(string from, string to, int kioskid)
        {
            var dal = new FootTrafficDAL();
            var collection = new List<FootTraffic>();

            foreach (DataRow row in dal.ReportFTByDay(from, to, kioskid).Rows)
            {
                var ins = new FootTraffic();
                ins.Bind(row);
                collection.Add(ins);
            }

            return collection;
        }
コード例 #6
0
        public static FootTraffic GetFTByKioskAndToday(int kioskid, string date)
        {
            var dal = new FootTrafficDAL();

            var ins = new FootTraffic();

            foreach (DataRow dr in dal.GetFTByKioskAndToday(kioskid, date).Rows)
            {
                ins.Bind(dr);
            }

            return ins;
        }