public void Dispose(bool disposing) { if (!disposed) { if (disposing) { objectManager.Dispose(); dbsToAdd = null; } disposed = true; } }