public void Dispose() { if (_dbConnection.State == ConnectionState.Open) { NativePool.ReleaseConnection(_dbConnection); } }
public NativeConnection() { _dbConnection = NativePool.GetConnection(); }
public void Close() { NativePool.ReleaseConnection(_dbConnection); }