public static bool Update(PayConsumehistoryEntity payConsumehistoryEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new PayConsumehistoryProvider(zoneId);

            return(provider.Update(payConsumehistoryEntity, trans));
        }
        public static bool Delete(System.Guid idx, DbTransaction trans = null, string zoneId = "")
        {
            PayConsumehistoryProvider provider = new PayConsumehistoryProvider(zoneId);

            return(provider.Delete(idx, trans));
        }
        public static bool GetPointForActivity(System.String account, System.DateTime startTime, System.DateTime endTime, ref System.Int32 point, DbTransaction trans = null, string zoneId = "")
        {
            PayConsumehistoryProvider provider = new PayConsumehistoryProvider(zoneId);

            return(provider.GetPointForActivity(account, startTime, endTime, ref point, trans));
        }
        public static List <PayConsumehistoryEntity> GetByAccount(System.String account, string zoneId = "")
        {
            var provider = new PayConsumehistoryProvider(zoneId);

            return(provider.GetByAccount(account));
        }
        public static List <PayConsumehistoryEntity> GetAll(string zoneId = "")
        {
            var provider = new PayConsumehistoryProvider(zoneId);

            return(provider.GetAll());
        }
        public static PayConsumehistoryEntity GetById(System.Guid idx, string zoneId = "")
        {
            var provider = new PayConsumehistoryProvider(zoneId);

            return(provider.GetById(idx));
        }
Esempio n. 7
0
        public static bool GetEqLockPointForActivity(System.Guid managerId, System.DateTime startTime, System.DateTime endTime, ref System.Int32 point)
        {
            var provider = new PayConsumehistoryProvider();

            return(provider.GetEqLockPointForActivity(managerId, startTime, endTime, ref point));
        }
Esempio n. 8
0
        public static List <PayConsumeManagerEntity> GetEqLockPointList(System.DateTime startTime, System.DateTime endTime)
        {
            var provider = new PayConsumehistoryProvider();

            return(provider.GetEqLockPointList(startTime, endTime));
        }