Beispiel #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));
     }
 }
Beispiel #2
0
 internal abstract void SetCommitHook(SQLiteCommitCallback func);
 internal static extern IntPtr sqlite3_commit_hook(IntPtr db, SQLiteCommitCallback func, IntPtr pvUser);
Beispiel #4
0
 internal override void SetCommitHook(SQLiteCommitCallback func)
 {
     UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, IntPtr.Zero);
 }
Beispiel #5
0
 internal abstract void SetCommitHook(SQLiteCommitCallback func);
Beispiel #6
0
 internal override void SetCommitHook(SQLiteCommitCallback func)
 {
   UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, IntPtr.Zero);
 }
Beispiel #7
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));
 }
Beispiel #8
0
 internal static extern IntPtr sqlite3_commit_hook(IntPtr db, SQLiteCommitCallback func, IntPtr pvUser);
Beispiel #9
0
 internal static extern IntPtr sqlite3_commit_hook_interop(IntPtr db, SQLiteCommitCallback func);
 internal static extern IntPtr sqlite3_commit_hook_interop(IntPtr db, SQLiteCommitCallback func);