public static bool Update(CrossladderManagerEntity crossladderManagerEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new CrossladderManagerProvider(zoneId);

            return(provider.Update(crossladderManagerEntity, trans));
        }
示例#2
0
        public static List <CrossladderDailyHonor> GetDailyHonor(string zoneId = "")
        {
            var provider = new CrossladderManagerProvider(zoneId);

            return(provider.GetDailyHonor());
        }
        public static bool GetOldHonor(System.Guid managerId, ref System.Int32 honor, DbTransaction trans = null, string zoneId = "")
        {
            CrossladderManagerProvider provider = new CrossladderManagerProvider(zoneId);

            return(provider.GetOldHonor(managerId, ref honor, trans));
        }
        public static bool Delete(System.Guid managerId, System.Byte[] rowVersion, DbTransaction trans = null, string zoneId = "")
        {
            CrossladderManagerProvider provider = new CrossladderManagerProvider(zoneId);

            return(provider.Delete(managerId, rowVersion, trans));
        }
        public static List <CrossladderManagerEntity> GetBot(System.Int32 botNumber, System.Int32 minScore, System.Int32 maxScore, string zoneId = "")
        {
            var provider = new CrossladderManagerProvider(zoneId);

            return(provider.GetBot(botNumber, minScore, maxScore));
        }
        public static List <CrossladderManagerEntity> GetAll(string zoneId = "")
        {
            var provider = new CrossladderManagerProvider(zoneId);

            return(provider.GetAll());
        }
        public static CrossladderManagerEntity GetById(System.Guid managerId, string zoneId = "")
        {
            var provider = new CrossladderManagerProvider(zoneId);

            return(provider.GetById(managerId));
        }