internal void FreeStatementHandle(ODBC32.STMT stmt) { DisposeDescriptorHandle(); OdbcStatementHandle handle = _stmt; if (null != handle) { try { ODBC32.RetCode retcode; retcode = handle.FreeStatement(stmt); StatementErrorHandler(retcode); } catch (Exception e) { // if (ADP.IsCatchableExceptionType(e)) { _stmt = null; handle.Dispose(); } throw; } } }
internal void FreeKeyInfoStatementHandle(ODBC32.STMT stmt) { OdbcStatementHandle handle = this._keyinfostmt; if (handle != null) { try { handle.FreeStatement(stmt); } catch (Exception exception) { if (ADP.IsCatchableExceptionType(exception)) { this._keyinfostmt = null; handle.Dispose(); } throw; } } }
internal void FreeKeyInfoStatementHandle(ODBC32.STMT stmt) { OdbcStatementHandle handle = _keyinfostmt; if (null != handle) { try { handle.FreeStatement(stmt); } catch (Exception e) { // if (ADP.IsCatchableExceptionType(e)) { _keyinfostmt = null; handle.Dispose(); } throw; } } }
internal void FreeStatementHandle(ODBC32.STMT stmt) { this.DisposeDescriptorHandle(); OdbcStatementHandle handle = this._stmt; if (handle != null) { try { ODBC32.RetCode retcode = handle.FreeStatement(stmt); this.StatementErrorHandler(retcode); } catch (Exception exception) { if (ADP.IsCatchableExceptionType(exception)) { this._stmt = null; handle.Dispose(); } throw; } } }