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

            return(provider.Update(txYellowvipEntity, trans));
        }
コード例 #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));
        }
コード例 #3
0
        public static List <TxYellowvipEntity> GetAll(string zoneId = "")
        {
            var provider = new TxYellowvipProvider(zoneId);

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

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

            return(provider.GetById(account));
        }