Example #1
0
 public void Delete(Data.PayrollPersonSentence DeletedItem)
 {
     try
     {
         Table.Remove(DeletedItem);
         this.SubmitChanges();
     }
     catch
     {
         throw;
     }
 }
Example #2
0
 public void Insert(Data.PayrollPersonSentence _payrollPersonSentence)
 {
     try
     {
         if (_payrollPersonSentence.ID == Guid.Empty)
         {
             _payrollPersonSentence.ID = Guid.NewGuid();
         }
         this.Table.Add(_payrollPersonSentence);
         this.SubmitChanges();
     }
     catch
     {
         throw;
     }
 }