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 = _keyinfostmt; if (null != handle) { try { handle.FreeStatement(stmt); } catch (Exception e) { // if (ADP.IsCatchableExceptionType(e)) { _keyinfostmt = 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 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; } } }
internal static extern /*SQLRETURN*/ ODBC32.RetCode SQLFreeStmt( /*SQLHSTMT*/ OdbcStatementHandle StatementHandle, /*SQLUSMALLINT*/ ODBC32.STMT Option);
internal ODBC32.RetCode FreeStatement(ODBC32.STMT stmt) { ODBC32.RetCode retcode = Interop.Odbc.SQLFreeStmt(this, stmt); ODBC.TraceODBC(3, "SQLFreeStmt", retcode); return(retcode); }
internal ODBC32.RetCode FreeStatement(ODBC32.STMT stmt) { ODBC32.RetCode retcode = UnsafeNativeMethods.SQLFreeStmt(this, stmt); ODBC.TraceODBC(3, "SQLFreeStmt", retcode); return(retcode); }
internal static partial ODBC32.SQLRETURN SQLFreeStmt( /*SQLHSTMT*/ OdbcStatementHandle StatementHandle, /*SQLUSMALLINT*/ ODBC32.STMT Option);
internal static extern ODBC32.RetCode SQLFreeStmt(OdbcStatementHandle StatementHandle, ODBC32.STMT Option);