Beispiel #1
0
        public static bool Update(ManagerMonthcardEntity managerMonthcardEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new ManagerMonthcardProvider(zoneId);

            return(provider.Update(managerMonthcardEntity, trans));
        }
Beispiel #2
0
        public static bool Insert(System.Int32 buyNumber, System.DateTime buyTime, System.DateTime dueToTime, System.DateTime prizeDate, System.DateTime updateTime, System.DateTime rowTime, ref System.Guid managerId, DbTransaction trans = null, string zoneId = "")
        {
            ManagerMonthcardProvider provider = new ManagerMonthcardProvider(zoneId);

            return(provider.Insert(buyNumber, buyTime, dueToTime, prizeDate, updateTime, rowTime, ref managerId, trans));
        }
Beispiel #3
0
        public static List <ManagerMonthcardEntity> GetAll(string zoneId = "")
        {
            var provider = new ManagerMonthcardProvider(zoneId);

            return(provider.GetAll());
        }
Beispiel #4
0
        public static List <ManagerMonthcardEntity> GetPrizeList(System.DateTime dayDate, string zoneId = "")
        {
            var provider = new ManagerMonthcardProvider(zoneId);

            return(provider.GetPrizeList(dayDate));
        }
Beispiel #5
0
        public static ManagerMonthcardEntity GetById(System.Guid managerId, string zoneId = "")
        {
            var provider = new ManagerMonthcardProvider(zoneId);

            return(provider.GetById(managerId));
        }