private void DetachConnection() { if (wrappedConnection != null) { wrappedConnection.Release(this); wrappedConnection = null; } }