示例#1
0
        public static bool Update(RevelationDrawEntity revelationDrawEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new RevelationDrawProvider(zoneId);

            return(provider.Update(revelationDrawEntity, trans));
        }
示例#2
0
        public static List <RevelationDrawEntity> GetAll(string zoneId = "")
        {
            var provider = new RevelationDrawProvider(zoneId);

            return(provider.GetAll());
        }
示例#3
0
        public static bool Delete(System.Guid drawId, DbTransaction trans = null, string zoneId = "")
        {
            RevelationDrawProvider provider = new RevelationDrawProvider(zoneId);

            return(provider.Delete(drawId, trans));
        }
示例#4
0
        public static RevelationDrawEntity GetById(System.Guid drawId, string zoneId = "")
        {
            var provider = new RevelationDrawProvider(zoneId);

            return(provider.GetById(drawId));
        }