public static int DeletePosition(int noticeID, int position) { PN_ToPositionDAL dal = (PN_ToPositionDAL)DataAccess.CreateObject(DALClassName); return(dal.DeletePosition(noticeID, position)); }
public static int DeleteByNoticeID(int noticeID) { PN_ToPositionDAL dal = (PN_ToPositionDAL)DataAccess.CreateObject(DALClassName); return(dal.DeleteByNoticeID(noticeID)); }
public static List <int> GetPositionByNoticeID(int noticeID) { PN_ToPositionDAL dal = (PN_ToPositionDAL)DataAccess.CreateObject(DALClassName); return(dal.GetPositionByNoticeID(noticeID)); }
public PN_ToPositionBLL(int id, bool bycache) : base(DALClassName) { _dal = (PN_ToPositionDAL)_DAL; FillModel(id, bycache); }
public PN_ToPositionBLL(int id) : base(DALClassName) { _dal = (PN_ToPositionDAL)_DAL; FillModel(id); }
///<summary> ///PN_ToPositionBLL ///</summary> public PN_ToPositionBLL() : base(DALClassName) { _dal = (PN_ToPositionDAL)_DAL; _m = new PN_ToPosition(); }