public override void Delete(HRPaidTimeOffDataContext db, int id) { throw new NotImplementedException(); }
protected override void DeleteForReal(Agency.PaidTimeOffDAL.HRPaidTimeOffDataContext db) { throw new NotImplementedException(); }
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); }
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); }
public bool IsDuplicate(HRPaidTimeOffDataContext db, int ptoVacationBankId, int entUserAccountId, short vacationYear) { return(db.PTOVacationBankIsDuplicate(ptoVacationBankId, entUserAccountId, vacationYear).Single().CountOfDuplicates > 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); }
public override void Delete(HRPaidTimeOffDataContext db, int id) { db.PTOVacationBankDelete(id); }