You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SQLite.Net/Interop/SQLiteOpenFlags.cs
+42-4Lines changed: 42 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -24,19 +24,57 @@
24
24
25
25
namespaceSQLite.Net2
26
26
{
27
+
/// <summary>
28
+
/// https://www.sqlite.org/c3ref/open.html
29
+
/// </summary>
27
30
[Flags]
28
31
publicenumSQLiteOpenFlags
29
32
{
30
33
ReadOnly=1,
31
34
ReadWrite=2,
32
35
Create=4,
36
+
37
+
/// <summary>
38
+
/// The filename can be interpreted as a URI
39
+
/// See https://www.sqlite.org/c3ref/open.html
40
+
/// </summary>
41
+
OpenUri=0x40,
42
+
/// <summary>
43
+
/// The database will be opened as an in-memory database. The database is named by the "filename" argument for the purposes of cache-sharing, if shared cache mode is enabled, but the "filename" is otherwise ignored.
44
+
/// </summary>
45
+
OpenMemory=0x80,
46
+
47
+
/// <summary>
48
+
/// The new database connection will use the "multi-thread" threading mode.
49
+
/// This means that separate threads are allowed to use SQLite at the same time, as long as each thread is using a different database connection.
50
+
/// </summary>
33
51
NoMutex=0x8000,
52
+
/// <summary>
53
+
/// The new database connection will use the "serialized" threading mode.
54
+
/// This means the multiple threads can safely attempt to use the same database connection at the same time.
55
+
/// (Mutexes will block any actual concurrency, but in this mode there is no harm in trying.)
/// The database filename is not allowed to be a symbolic link
64
+
/// </summary>
65
+
NoFollow=0x100000,
66
+
/// <summary>
67
+
/// The database connection comes up in "extended result code mode". In other words, the database behaves has if sqlite3_extended_result_codes(db,1) where called on the database connection as soon as the connection is created. In addition to setting the extended result code mode, this flag also causes sqlite3_open_v2() to return an extended result code
0 commit comments