private sqlite3_update_hook ( IntPtr db, SqliteUpdateCallback func ) : IntPtr | ||
db | IntPtr | |
func | SqliteUpdateCallback | |
return | IntPtr |
internal override void SetUpdateHook(SQLiteUpdateCallback func) { update_callback = func; if (func == null) { UnsafeNativeMethods.sqlite3_update_hook(_sql, null, IntPtr.Zero); } else { UnsafeNativeMethods.sqlite3_update_hook(_sql, update, GCHandle.ToIntPtr(gch)); } }
internal override void SetUpdateHook(SQLiteUpdateCallback func) { UnsafeNativeMethods.sqlite3_update_hook(_sql, func, IntPtr.Zero); }
internal override void SetUpdateHook(SqliteUpdateHookDelegate func) { UnsafeNativeMethods.sqlite3_update_hook(_sql, func, null); }