protected override void Dispose(bool disposing) { if (disposing) { if (cp != null) { cp.Dispose(); } } base.Dispose(disposing); }
private void Dispose(bool disposing) { if (!disposing) { return; } if (_connectionProvider != null) { _connectionProvider.Dispose(); } }
public void Dispose() { _connectionProvider.Dispose(); }