1 instantiation of SafeSqliteHandle
Microsoft.CodeAnalysis.Workspaces (1)
Storage\SQLite\Interop\NativeMethods.cs (1)
28
return new
SafeSqliteHandle
(wrapper);
15 references to SafeSqliteHandle
Microsoft.CodeAnalysis.Workspaces (15)
Storage\SQLite\Interop\NativeMethods.cs (7)
16
public static
SafeSqliteHandle
sqlite3_open_v2(string filename, int flags, string? vfs, out Result result)
37
public static SafeSqliteStatementHandle sqlite3_prepare_v2(
SafeSqliteHandle
db, string sql, out Result result)
60
public static SafeSqliteBlobHandle sqlite3_blob_open(
SafeSqliteHandle
db, utf8z sdb, utf8z table, utf8z col, long rowid, int flags, out Result result)
83
public static string sqlite3_errmsg(
SafeSqliteHandle
db)
94
public static int sqlite3_extended_errcode(
SafeSqliteHandle
db)
100
public static Result sqlite3_busy_timeout(
SafeSqliteHandle
db, int ms)
106
public static long sqlite3_last_insert_rowid(
SafeSqliteHandle
db)
Storage\SQLite\Interop\SafeSqliteBlobHandle.cs (1)
18
public SafeSqliteBlobHandle(
SafeSqliteHandle
sqliteHandle, sqlite3_blob? wrapper)
Storage\SQLite\Interop\SafeSqliteStatementHandle.cs (1)
18
public SafeSqliteStatementHandle(
SafeSqliteHandle
sqliteHandle, sqlite3_stmt? wrapper)
Storage\SQLite\v2\Interop\SqlConnection.cs (6)
65
private readonly
SafeSqliteHandle
_handle;
100
var
handle = NativeMethods.sqlite3_open_v2(databasePath, (int)flags, vfs: null, out var result);
153
private SqlConnection(
SafeSqliteHandle
handle, Dictionary<string, SqlStatement> queryToStatement)
162
using
var
_ = _handle;
436
public static void ThrowIfNotOk(
SafeSqliteHandle
handle, Result result)
447
public static void Throw(
SafeSqliteHandle
handle, Result result)