public frmLeaveEncashment() { InitializeComponent(); DALObject = new LeaveEncashmentDAL(); EmployeeDALObj = new EmployeeDAL(); LeaveTypeDALObj = new LeaveTypeDAL(); HolidayDALObj = new HolidayDAL(); LocationDALObj = new DAL.Settings.LocationDAL(); LeaveEncashmentNoPrefixDALObj = new LeaveEncashmentNoPrefixDAL(); FirstControl = lookupLeaveEncashmentNoPrefix; }
public Boolean Update(LeaveTypeENT entLeaveType) { LeaveTypeDAL dalLeaveType = new LeaveTypeDAL(); if (dalLeaveType.Update(entLeaveType)) { return(true); } else { Message = dalLeaveType.Message; return(false); } }
public Boolean Delete(SqlInt32 LeaveTypeID) { LeaveTypeDAL dalLeaveType = new LeaveTypeDAL(); if (dalLeaveType.Delete(LeaveTypeID)) { return(true); } else { Message = dalLeaveType.Message; return(false); } }
public frmLeaveType() { InitializeComponent(); DALObject = new LeaveTypeDAL(); FirstControl = txtLeaveTypeName; }
public LeaveTypeENT SelectByPK(SqlInt32 LeaveTypeID) { LeaveTypeDAL dalLeaveType = new LeaveTypeDAL(); return(dalLeaveType.SelectByPK(LeaveTypeID)); }
public DataTable SelectForDropDownListByUserID(SqlInt32 UserID) { LeaveTypeDAL dalLeaveType = new LeaveTypeDAL(); return(dalLeaveType.SelectForDropDownListByUserID(UserID)); }
public DataTable SelectAll() { LeaveTypeDAL dalLeaveType = new LeaveTypeDAL(); return(dalLeaveType.SelectAll()); }