Example #1
0
        public static bool Update(DicPlayerEntity dicPlayerEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new DicPlayerProvider(zoneId);

            return(provider.Update(dicPlayerEntity, trans));
        }
Example #2
0
        public static List <DicPlayerEntity> GetAllForCache(string zoneId = "")
        {
            var provider = new DicPlayerProvider(zoneId);

            return(provider.GetAllForCache());
        }
Example #3
0
        public static bool Delete(System.Int32 idx, DbTransaction trans = null, string zoneId = "")
        {
            DicPlayerProvider provider = new DicPlayerProvider(zoneId);

            return(provider.Delete(idx, trans));
        }
Example #4
0
        public static DicPlayerEntity GetById(System.Int32 idx, string zoneId = "")
        {
            var provider = new DicPlayerProvider(zoneId);

            return(provider.GetById(idx));
        }