public static bool Update(TxYellowvipEntity txYellowvipEntity, DbTransaction trans = null, string zoneId = "") { var provider = new TxYellowvipProvider(zoneId); return(provider.Update(txYellowvipEntity, trans)); }
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)); }
public static List <TxYellowvipEntity> GetAll(string zoneId = "") { var provider = new TxYellowvipProvider(zoneId); return(provider.GetAll()); }
public static bool Delete(System.String account, DbTransaction trans = null, string zoneId = "") { TxYellowvipProvider provider = new TxYellowvipProvider(zoneId); return(provider.Delete(account, trans)); }
public static TxYellowvipEntity GetById(System.String account, string zoneId = "") { var provider = new TxYellowvipProvider(zoneId); return(provider.GetById(account)); }