public void BindAt(DateTime time, int bindAt) { if (bindAt == -1) { bindAt = bindIndex++; } if (Sqlite3.sqlite3_bind_int64(vm, bindAt, time.ToBinary()) != Sqlite3.SQLITE_OK) { throw new Exception("SQLite fail to bind double with error: " + Sqlite3.sqlite3_errmsg(db)); } ; }
public void BindAt(long integer, int bindAt) { if (bindAt == -1) { bindAt = bindIndex++; } if (Sqlite3.sqlite3_bind_int64(vm, bindAt, integer) != Sqlite3.SQLITE_OK) { throw new Exception("SQLite fail to bind long with error: " + Sqlite3.sqlite3_errmsg(db)); } ; }