public static bool UpdateDonate(Donate d) { return(DonateDAO.UpdateDonate(d)); }
public static decimal GetSumMoneyDonate() { return(DonateDAO.SumMoneyDonate()); }
public static List <Donate> GetDonateHide() { return(DonateDAO.GetDonateHide()); }
public static List <Donate> GetDonates(int stt, int take) { return(DonateDAO.GetDonates(stt, take)); }
public static List <Donate> GetAllDonateByCate(int cate) { return(DonateDAO.GetAllDonateByCate(cate)); }
public static List <Donate> GetAllDonateByStt(int stt) { return(DonateDAO.GetAllDonateByStt(stt)); }
public static Donate GetDonateByID(int id) { return(DonateDAO.GetDonateByID(id)); }
public static bool CreateDonate(Donate d) { return(DonateDAO.CreateDonate(d)); }
/// <summary> /// 构造函数 /// </summary> public DonateBLL(LoggingSessionInfo pUserInfo) { this.CurrentUserInfo = pUserInfo; this._currentDAO = new DonateDAO(pUserInfo); }