protected virtual void Dispose(bool disposing)
 {
     try
     {
         if (!this.disposed)
         {
             if (disposing)
             {
                 db.Dispose();
             }
         }
         this.disposed = true;
     }
     catch (Exception ex)
     {
     }
 }
예제 #2
0
 protected virtual void Dispose(bool disposing)
 {
     try
     {
         if (!disposed)
         {
             if (disposing)
             {
                 db.Dispose();
             }
         }
         disposed = true;
     }
     catch (Exception ex)
     {
         //log.Error(ex.Message);
         throw ex;
     }
 }