Пример #1
0
        public static bool Insert(GambleRankEntity gambleRankEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new GambleRankProvider(zoneId);

            return(provider.Insert(gambleRankEntity, trans));
        }
Пример #2
0
        public static bool UpdateData(System.Guid managerId, System.String managerName, System.Int32 money, DbTransaction trans = null, string zoneId = "")
        {
            GambleRankProvider provider = new GambleRankProvider(zoneId);

            return(provider.UpdateData(managerId, managerName, money, trans));
        }
Пример #3
0
        public static bool Delete(System.Guid managerId, DbTransaction trans = null, string zoneId = "")
        {
            GambleRankProvider provider = new GambleRankProvider(zoneId);

            return(provider.Delete(managerId, trans));
        }
Пример #4
0
        public static bool UpdateRank(DbTransaction trans = null, string zoneId = "")
        {
            GambleRankProvider provider = new GambleRankProvider(zoneId);

            return(provider.UpdateRank(trans));
        }
Пример #5
0
        public static Int32 MoveToHistory(System.Int32 seasonId, string zoneId = "")
        {
            var provider = new GambleRankProvider(zoneId);

            return(provider.MoveToHistory(seasonId));
        }
Пример #6
0
        public static List <GambleRankEntity> GetAll(string zoneId = "")
        {
            var provider = new GambleRankProvider(zoneId);

            return(provider.GetAll());
        }
Пример #7
0
        public static List <GambleRankEntity> GetRank(System.Int32 topNum, string zoneId = "")
        {
            var provider = new GambleRankProvider(zoneId);

            return(provider.GetRank(topNum));
        }
Пример #8
0
        public static GambleRankEntity GetById(System.Guid managerId, string zoneId = "")
        {
            var provider = new GambleRankProvider(zoneId);

            return(provider.GetById(managerId));
        }