Example #1
0
 public override void Delete(HRPaidTimeOffDataContext db, int id)
 {
     throw new NotImplementedException();
 }
Example #2
0
 protected override void DeleteForReal(Agency.PaidTimeOffDAL.HRPaidTimeOffDataContext db)
 {
     throw new NotImplementedException();
 }
Example #3
0
 protected override void ValidateDelete(Agency.PaidTimeOffDAL.HRPaidTimeOffDataContext db, ref ENTValidationErrors validationErrors)
 {
     throw new NotImplementedException();
 }
        public bool Update(HRPaidTimeOffDataContext db, int pTORequestId, int eNTUserAccountId, DateTime requestDate, int pTODayTypeId, int pTORequestTypeId, int updateENTUserAccountId, Binary version)
        {
            int rowsAffected = db.PTORequestUpdate(pTORequestId, eNTUserAccountId, requestDate, pTODayTypeId, pTORequestTypeId, updateENTUserAccountId, version);

            return(rowsAffected == 1);
        }
Example #5
0
 protected override void Validate(Agency.PaidTimeOffDAL.HRPaidTimeOffDataContext db, ref ENTValidationErrors validationErrors)
 {
 }
 public override void Delete(HRPaidTimeOffDataContext db, int id)
 {
     db.PTORequestDelete(id);
 }
 public void UpdateCancelled(HRPaidTimeOffDataContext db, int ptoRequestId, bool cancelled)
 {
     db.PTORequestUpdateCancelled(ptoRequestId, cancelled);
 }
Example #8
0
 public bool IsDuplicate(HRPaidTimeOffDataContext db, int ptoVacationBankId, int entUserAccountId, short vacationYear)
 {
     return(db.PTOVacationBankIsDuplicate(ptoVacationBankId, entUserAccountId, vacationYear).Single().CountOfDuplicates > 0);
 }
Example #9
0
        public bool Update(HRPaidTimeOffDataContext db, int pTOVacationBankId, int eNTUserAccountId, short vacationYear, byte personalDays, byte vacationDays, int updateENTUserAccountId, Binary version)
        {
            int rowsAffected = db.PTOVacationBankUpdate(pTOVacationBankId, eNTUserAccountId, vacationYear, personalDays, vacationDays, updateENTUserAccountId, version);

            return(rowsAffected == 1);
        }
Example #10
0
 public override void Delete(HRPaidTimeOffDataContext db, int id)
 {
     db.PTOVacationBankDelete(id);
 }