public static bool Insert(GambleRankEntity gambleRankEntity, DbTransaction trans = null, string zoneId = "") { var provider = new GambleRankProvider(zoneId); return(provider.Insert(gambleRankEntity, trans)); }
public static bool UpdateData(System.Guid managerId, System.String managerName, System.Int32 money, DbTransaction trans = null, string zoneId = "") { GambleRankProvider provider = new GambleRankProvider(zoneId); return(provider.UpdateData(managerId, managerName, money, trans)); }
public static bool Delete(System.Guid managerId, DbTransaction trans = null, string zoneId = "") { GambleRankProvider provider = new GambleRankProvider(zoneId); return(provider.Delete(managerId, trans)); }
public static bool UpdateRank(DbTransaction trans = null, string zoneId = "") { GambleRankProvider provider = new GambleRankProvider(zoneId); return(provider.UpdateRank(trans)); }
public static Int32 MoveToHistory(System.Int32 seasonId, string zoneId = "") { var provider = new GambleRankProvider(zoneId); return(provider.MoveToHistory(seasonId)); }
public static List <GambleRankEntity> GetAll(string zoneId = "") { var provider = new GambleRankProvider(zoneId); return(provider.GetAll()); }
public static List <GambleRankEntity> GetRank(System.Int32 topNum, string zoneId = "") { var provider = new GambleRankProvider(zoneId); return(provider.GetRank(topNum)); }
public static GambleRankEntity GetById(System.Guid managerId, string zoneId = "") { var provider = new GambleRankProvider(zoneId); return(provider.GetById(managerId)); }