|
enum | Result : int {
OK = 0
, Error = 1
, Internal = 2
, Perm = 3
,
Abort = 4
, Busy = 5
, Locked = 6
, NoMem = 7
,
ReadOnly = 8
, Interrupt = 9
, IOError = 10
, Corrupt = 11
,
NotFound = 12
, Full = 13
, CannotOpen = 14
, LockErr = 15
,
Empty = 16
, SchemaChngd = 17
, TooBig = 18
, Constraint = 19
,
Mismatch = 20
, Misuse = 21
, NotImplementedLFS = 22
, AccessDenied = 23
,
Format = 24
, Range = 25
, NonDBFile = 26
, Notice = 27
,
Warning = 28
, Row = 100
, Done = 101
} |
enum | ExtendedResult : int {
IOErrorRead = (Result.IOError | (1 << 8))
, IOErrorShortRead = (Result.IOError | (2 << 8))
, IOErrorWrite = (Result.IOError | (3 << 8))
, IOErrorFsync = (Result.IOError | (4 << 8))
,
IOErrorDirFSync = (Result.IOError | (5 << 8))
, IOErrorTruncate = (Result.IOError | (6 << 8))
, IOErrorFStat = (Result.IOError | (7 << 8))
, IOErrorUnlock = (Result.IOError | (8 << 8))
,
IOErrorRdlock = (Result.IOError | (9 << 8))
, IOErrorDelete = (Result.IOError | (10 << 8))
, IOErrorBlocked = (Result.IOError | (11 << 8))
, IOErrorNoMem = (Result.IOError | (12 << 8))
,
IOErrorAccess = (Result.IOError | (13 << 8))
, IOErrorCheckReservedLock = (Result.IOError | (14 << 8))
, IOErrorLock = (Result.IOError | (15 << 8))
, IOErrorClose = (Result.IOError | (16 << 8))
,
IOErrorDirClose = (Result.IOError | (17 << 8))
, IOErrorSHMOpen = (Result.IOError | (18 << 8))
, IOErrorSHMSize = (Result.IOError | (19 << 8))
, IOErrorSHMLock = (Result.IOError | (20 << 8))
,
IOErrorSHMMap = (Result.IOError | (21 << 8))
, IOErrorSeek = (Result.IOError | (22 << 8))
, IOErrorDeleteNoEnt = (Result.IOError | (23 << 8))
, IOErrorMMap = (Result.IOError | (24 << 8))
,
LockedSharedcache = (Result.Locked | (1 << 8))
, BusyRecovery = (Result.Busy | (1 << 8))
, CannottOpenNoTempDir = (Result.CannotOpen | (1 << 8))
, CannotOpenIsDir = (Result.CannotOpen | (2 << 8))
,
CannotOpenFullPath = (Result.CannotOpen | (3 << 8))
, CorruptVTab = (Result.Corrupt | (1 << 8))
, ReadonlyRecovery = (Result.ReadOnly | (1 << 8))
, ReadonlyCannotLock = (Result.ReadOnly | (2 << 8))
,
ReadonlyRollback = (Result.ReadOnly | (3 << 8))
, AbortRollback = (Result.Abort | (2 << 8))
, ConstraintCheck = (Result.Constraint | (1 << 8))
, ConstraintCommitHook = (Result.Constraint | (2 << 8))
,
ConstraintForeignKey = (Result.Constraint | (3 << 8))
, ConstraintFunction = (Result.Constraint | (4 << 8))
, ConstraintNotNull = (Result.Constraint | (5 << 8))
, ConstraintPrimaryKey = (Result.Constraint | (6 << 8))
,
ConstraintTrigger = (Result.Constraint | (7 << 8))
, ConstraintUnique = (Result.Constraint | (8 << 8))
, ConstraintVTab = (Result.Constraint | (9 << 8))
, NoticeRecoverWAL = (Result.Notice | (1 << 8))
,
NoticeRecoverRollback = (Result.Notice | (2 << 8))
} |
enum | ConfigOption : int { SingleThread = 1
, MultiThread = 2
, Serialized = 3
} |
enum | ColType : int {
Integer = 1
, Float = 2
, Text = 3
, Blob = 4
,
Null = 5
} |
|
static Result | Open ([MarshalAs(UnmanagedType.LPStr)] string filename, out IntPtr db) |
static Result | Open ([MarshalAs(UnmanagedType.LPStr)] string filename, out IntPtr db, int flags, IntPtr zvfs) |
static Result | Open (byte[] filename, out IntPtr db, int flags, IntPtr zvfs) |
static Result | Open16 ([MarshalAs(UnmanagedType.LPWStr)] string filename, out IntPtr db) |
static Result | EnableLoadExtension (IntPtr db, int onoff) |
static Result | Close (IntPtr db) |
static Result | Initialize () |
static Result | Shutdown () |
static Result | Config (ConfigOption option) |
static int | SetDirectory (uint directoryType, string directoryPath) |
static Result | BusyTimeout (IntPtr db, int milliseconds) |
static int | Changes (IntPtr db) |
static Result | Prepare2 (IntPtr db, [MarshalAs(UnmanagedType.LPStr)] string sql, int numBytes, out IntPtr stmt, IntPtr pzTail) |
static Result | Step (IntPtr stmt) |
static Result | Reset (IntPtr stmt) |
static Result | Finalize (IntPtr stmt) |
static long | LastInsertRowid (IntPtr db) |
static IntPtr | Errmsg (IntPtr db) |
static int | BindParameterIndex (IntPtr stmt, [MarshalAs(UnmanagedType.LPStr)] string name) |
static int | BindNull (IntPtr stmt, int index) |
static int | BindInt (IntPtr stmt, int index, int val) |
static int | BindInt64 (IntPtr stmt, int index, long val) |
static int | BindDouble (IntPtr stmt, int index, double val) |
static int | BindText (IntPtr stmt, int index, [MarshalAs(UnmanagedType.LPWStr)] string val, int n, IntPtr free) |
static int | BindBlob (IntPtr stmt, int index, byte[] val, int n, IntPtr free) |
static int | ColumnCount (IntPtr stmt) |
static IntPtr | ColumnName (IntPtr stmt, int index) |
static ColType | ColumnType (IntPtr stmt, int index) |
static int | ColumnInt (IntPtr stmt, int index) |
static long | ColumnInt64 (IntPtr stmt, int index) |
static double | ColumnDouble (IntPtr stmt, int index) |
static IntPtr | ColumnText (IntPtr stmt, int index) |
static IntPtr | ColumnText16 (IntPtr stmt, int index) |
static IntPtr | ColumnBlob (IntPtr stmt, int index) |
static int | ColumnBytes (IntPtr stmt, int index) |
static ExtendedResult | ExtendedErrCode (IntPtr db) |
static int | LibVersionNumber () |