internal static void Dispose(this SqliteStatementHandle statement) { try { SQLiteBase.FinalizeStatement(statement); } catch (SqliteException) { } }
protected override bool ReleaseHandle() { try { SQLiteBase.FinalizeStatement(this); } catch (SqliteException) { } return(true); }
protected override bool ReleaseHandle() { try { lock (this._cnn) { SQLiteBase.FinalizeStatement(this); Interlocked.Exchange(ref this.handle, IntPtr.Zero); } } catch (SqliteException) { } finally { this.SetHandleAsInvalid(); } return(true); }