Exemplo n.º 1
0
        public int ColumnBytes(IDbStatement stmt, int index)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.ColumnBytes(dbStatement.InternalStmt, index));
        }
Exemplo n.º 2
0
        public Result BusyTimeout(IDbHandle db, int milliseconds)
        {
            var dbHandle = (DbHandle)db;

            return((Result)SQLite3.BusyTimeout(dbHandle.InternalDbHandle, milliseconds));
        }
Exemplo n.º 3
0
        public Result Close(IDbHandle db)
        {
            var dbHandle = (DbHandle)db;

            return((Result)SQLite3.Close(dbHandle.InternalDbHandle));
        }
Exemplo n.º 4
0
        public int BindNull(IDbStatement stmt, int index)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.BindNull(dbStatement.InternalStmt, index));
        }
Exemplo n.º 5
0
        public int BindParameterIndex(IDbStatement stmt, string name)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.BindParameterIndex(dbStatement.InternalStmt, name));
        }
Exemplo n.º 6
0
        public int BackupRemaining(IDbBackupHandle handle)
        {
            var internalBackup = (DbBackupHandle)handle;

            return(SQLite3.sqlite3_backup_remaining(internalBackup.DbBackupPtr));
        }
Exemplo n.º 7
0
 public int Sleep(int millis)
 {
     return(SQLite3.sqlite3_sleep(millis));
 }
Exemplo n.º 8
0
        public string ColumnText16(IDbStatement stmt, int index)
        {
            var dbStatement = (DbStatement)stmt;

            return(Marshal.PtrToStringUni(SQLite3.ColumnText16(dbStatement.InternalStmt, index)));
        }
Exemplo n.º 9
0
        public ColType ColumnType(IDbStatement stmt, int index)
        {
            var dbStatement = (DbStatement)stmt;

            return((ColType)SQLite3.ColumnType(dbStatement.InternalStmt, index));
        }
Exemplo n.º 10
0
        public string ColumnName16(IDbStatement stmt, int index)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.ColumnName16(dbStatement.InternalStmt, index));
        }
Exemplo n.º 11
0
        public int BindBlob(IDbStatement stmt, int index, byte[] val, int n, IntPtr free)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.BindBlob(dbStatement.InternalStmt, index, val, n, free));
        }
Exemplo n.º 12
0
        public long ColumnInt64(IDbStatement stmt, int index)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.ColumnInt64(dbStatement.InternalStmt, index));
        }
Exemplo n.º 13
0
        public double ColumnDouble(IDbStatement stmt, int index)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.ColumnDouble(dbStatement.InternalStmt, index));
        }
Exemplo n.º 14
0
        public int ColumnCount(IDbStatement stmt)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.ColumnCount(dbStatement.InternalStmt));
        }
Exemplo n.º 15
0
        public Result BackupStep(IDbBackupHandle handle, int pageCount)
        {
            var internalBackup = (DbBackupHandle)handle;

            return(SQLite3.sqlite3_backup_step(internalBackup.DbBackupPtr, pageCount));
        }
Exemplo n.º 16
0
 public int LibVersionNumber()
 {
     return(SQLite3.sqlite3_libversion_number());
 }
Exemplo n.º 17
0
        public Result BackupFinish(IDbBackupHandle handle)
        {
            var internalBackup = (DbBackupHandle)handle;

            return(SQLite3.sqlite3_backup_finish(internalBackup.DbBackupPtr));
        }
Exemplo n.º 18
0
 public string SourceID()
 {
     return(Marshal.PtrToStringAnsi(SQLite3.sqlite3_sourceid()));
 }
Exemplo n.º 19
0
        public int BackupPagecount(IDbBackupHandle handle)
        {
            var internalBackup = (DbBackupHandle)handle;

            return(SQLite3.sqlite3_backup_pagecount(internalBackup.DbBackupPtr));
        }
Exemplo n.º 20
0
        public string Errmsg16(IDbHandle db)
        {
            var dbHandle = (DbHandle)db;

            return(SQLite3.GetErrmsg(dbHandle.InternalDbHandle));
        }
Exemplo n.º 21
0
        public int BindInt64(IDbStatement stmt, int index, long val)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.BindInt64(dbStatement.InternalStmt, index, val));
        }
Exemplo n.º 22
0
        public long LastInsertRowid(IDbHandle db)
        {
            var dbHandle = (DbHandle)db;

            return(SQLite3.LastInsertRowid(dbHandle.InternalDbHandle));
        }
Exemplo n.º 23
0
 public static string ColumnString(IntPtr stmt, int index)
 {
     return(Marshal.PtrToStringUni(SQLite3.ColumnText16(stmt, index)));
 }
Exemplo n.º 24
0
        public ExtendedResult ExtendedErrCode(IDbHandle db)
        {
            var dbHandle = (DbHandle)db;

            return(SQLite3.sqlite3_extended_errcode(dbHandle.InternalDbHandle));
        }
Exemplo n.º 25
0
        public int BindText16(IDbStatement stmt, int index, string val, int n, IntPtr free)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.BindText(dbStatement.InternalStmt, index, val, n, free));
        }
Exemplo n.º 26
0
        public int BindDouble(IDbStatement stmt, int index, double val)
        {
            var dbStatement = (DbStatement)stmt;

            return(SQLite3.BindDouble(dbStatement.InternalStmt, index, val));
        }
Exemplo n.º 27
0
        public int Changes(IDbHandle db)
        {
            var dbHandle = (DbHandle)db;

            return(SQLite3.Changes(dbHandle.InternalDbHandle));
        }
Exemplo n.º 28
0
        public Result Step(IDbStatement stmt)
        {
            var dbStatement = (DbStatement)stmt;

            return((Result)SQLite3.Step(dbStatement.InternalStmt));
        }
Exemplo n.º 29
0
 public Result Config(ConfigOption option)
 {
     return((Result)SQLite3.Config(option));
 }
Exemplo n.º 30
0
 public SQLiteApiZ(string tempFolderPath = null)
 {
     SQLite3.SetDirectory(1, tempFolderPath ?? Windows.Storage.ApplicationData.Current.TemporaryFolder.Path);
 }