Exemple #1
0
        public static List <LadderMatchMarqueeEntity> GetMatchTop10()
        {
            var provider = new LadderMatchProvider();

            return(provider.GetMatchTop10());
        }
        public static bool GetPrizeScoreByTime(System.Guid managerId, System.DateTime beginTime, System.DateTime endTime, ref System.Int32 score, DbTransaction trans = null, string zoneId = "")
        {
            LadderMatchProvider provider = new LadderMatchProvider(zoneId);

            return(provider.GetPrizeScoreByTime(managerId, beginTime, endTime, ref score, trans));
        }
        public static bool Update(LadderMatchEntity ladderMatchEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new LadderMatchProvider(zoneId);

            return(provider.Update(ladderMatchEntity, trans));
        }
        public static bool SaveMatch(System.Guid ladderId, System.Guid homeId, System.Guid awayId, System.String homeName, System.String awayName, System.Int32 homeLadderScore, System.Int32 awayLadderScore, System.Int32 homeScore, System.Int32 awayScore, System.Int32 homeCoin, System.Int32 awayCoin, System.Int32 homeExp, System.Int32 awayExp, System.Boolean homeIsBot, System.Boolean awayIsBot, System.Int32 groupIndex, System.Int32 prizeHomeScore, System.Int32 prizeAwayScore, System.DateTime rowTime, System.Guid idx, ref System.Int32 returnCode, DbTransaction trans = null, string zoneId = "")
        {
            LadderMatchProvider provider = new LadderMatchProvider(zoneId);

            return(provider.SaveMatch(ladderId, homeId, awayId, homeName, awayName, homeLadderScore, awayLadderScore, homeScore, awayScore, homeCoin, awayCoin, homeExp, awayExp, homeIsBot, awayIsBot, groupIndex, prizeHomeScore, prizeAwayScore, rowTime, idx, ref returnCode, trans));
        }
        public static bool Delete(System.Guid idx, DbTransaction trans = null, string zoneId = "")
        {
            LadderMatchProvider provider = new LadderMatchProvider(zoneId);

            return(provider.Delete(idx, trans));
        }
        public static List <LadderMatchEntity> GetFiveMatch(System.Guid managerId, string zoneId = "")
        {
            var provider = new LadderMatchProvider(zoneId);

            return(provider.GetFiveMatch(managerId));
        }
        public static List <LadderMatchEntity> GetAll(string zoneId = "")
        {
            var provider = new LadderMatchProvider(zoneId);

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

            return(provider.GetById(idx));
        }