Exemplo n.º 1
0
 public void UpdateEntity(CODE_FEEEntity entity)
 {
     try
     {
         this.BaseRepository().Update(entity);
     }
     catch (Exception ex)
     {
         if (ex is ExceptionEx)
         {
             throw;
         }
         else
         {
             throw ExceptionEx.ThrowServiceException(ex);
         }
     }
 }
Exemplo n.º 2
0
 public void PhysicalDelRecord(string keyValue)
 {
     try
     {
         CODE_FEEEntity entity = new CODE_FEEEntity()
         {
             FEEID = keyValue
         };
         this.BaseRepository().Delete(entity);
     }
     catch (Exception ex)
     {
         if (ex is ExceptionEx)
         {
             throw;
         }
         else
         {
             throw ExceptionEx.ThrowServiceException(ex);
         }
     }
 }