Example #1
0
        public static bool Update(TxYellowvipEntity txYellowvipEntity, DbTransaction trans = null, string zoneId = "")
        {
            var provider = new TxYellowvipProvider(zoneId);

            return(provider.Update(txYellowvipEntity, trans));
        }
Example #2
0
        public static bool Add(System.String account, System.Boolean isYellowVip, System.Boolean isYellowYearVip, System.Boolean isYellowHighVip, System.Int32 yellowVipLevel, System.String extraData, DbTransaction trans = null, string zoneId = "")
        {
            TxYellowvipProvider provider = new TxYellowvipProvider(zoneId);

            return(provider.Add(account, isYellowVip, isYellowYearVip, isYellowHighVip, yellowVipLevel, extraData, trans));
        }
Example #3
0
        public static List <TxYellowvipEntity> GetAll(string zoneId = "")
        {
            var provider = new TxYellowvipProvider(zoneId);

            return(provider.GetAll());
        }
Example #4
0
        public static bool Delete(System.String account, DbTransaction trans = null, string zoneId = "")
        {
            TxYellowvipProvider provider = new TxYellowvipProvider(zoneId);

            return(provider.Delete(account, trans));
        }
Example #5
0
        public static TxYellowvipEntity GetById(System.String account, string zoneId = "")
        {
            var provider = new TxYellowvipProvider(zoneId);

            return(provider.GetById(account));
        }