private sqlite3_commit_hook ( |
||
db | ||
func | SqliteCommitCallback | |
return |
internal override void SetCommitHook(SQLiteCommitCallback func) { commit_callback = func; if (func == null) { UnsafeNativeMethods.sqlite3_commit_hook(_sql, null, IntPtr.Zero); } else { UnsafeNativeMethods.sqlite3_commit_hook(_sql, commit, GCHandle.ToIntPtr(gch)); } }
internal override void SetCommitHook(SQLiteCommitCallback func) { UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, IntPtr.Zero); }
internal override void SetCommitHook(SqliteCommitHookDelegate func) { UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, null); }