/// <summary> /// TODO - document this once transactions are supported. /// </summary> public override void Close() { if (State == ConnectionState.Closed) { return; } _connectionPoolManager.Release(_connectionString, _internal); _internal = null; InternalState = ConnectionState.Closed; }
/// <summary> /// TODO - document this once transactions are supported. /// </summary> public override void Close() { if (_isDisposed) { throw new ObjectDisposedException(nameof(AseConnection)); } if (State == ConnectionState.Closed) { return; } _connectionPoolManager.Release(_connectionString, _internal); _internal = null; InternalState = ConnectionState.Closed; }