sqlite3_commit_hook() 개인적인 메소드

private sqlite3_commit_hook ( IntPtr db, SqliteCommitCallback func ) : IntPtr
db System.IntPtr
func SqliteCommitCallback
리턴 System.IntPtr
예제 #1
0
 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));
     }
 }
예제 #2
0
 internal override void SetCommitHook(SQLiteCommitCallback func)
 {
     UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, IntPtr.Zero);
 }
예제 #3
0
 internal override void SetCommitHook(SqliteCommitHookDelegate func)
 {
     UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, null);
 }