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