internal override void Bind_Double(SQLiteStatement stmt, int index, double value) { int errorCode = UnsafeNativeMethods.sqlite3_bind_double((IntPtr)stmt._sqlite_stmt, index, value); if (errorCode > 0) { throw new SQLiteException(errorCode, this.SQLiteLastError()); } }
internal override void Bind_Double(SQLiteStatement stmt, int index, double value) { #if !PLATFORM_COMPACTFRAMEWORK int n = UnsafeNativeMethods.sqlite3_bind_double(stmt._sqlite_stmt, index, value); #else int n = UnsafeNativeMethods.sqlite3_bind_double_interop(stmt._sqlite_stmt, index, ref value); #endif if (n > 0) { throw new SQLiteException(n, SQLiteLastError()); } }