protected virtual void Dispose(bool disposing) { if (disposing) { if (_taskContext != null) { _taskContext.Dispose(); } } }