Die `Mono.Data.Sqlite.SqliteConnection` ist eine Klasse in C#, die eine Verbindung zur SQLite-Datenbank ermöglicht. Sie werden hauptsächlich verwendet, um auf eine lokale oder eingebettete SQLite-Datenbank zuzugreifen und damit zu interagieren. Mit Hilfe dieser Klasse können Benutzer Datenbankanfragen senden, Datenbanktransaktionen durchführen und auf die Datenbank zugreifen, um Daten zu lesen, einzufügen, zu aktualisieren oder zu löschen. Durch die Verwendung von `Mono.Data.Sqlite.SqliteConnection` können Entwickler einfach auf die SQLite-Datenbank zugreifen und diese in ihren C#-Anwendungen verwenden.
C# (CSharp) Mono.Data.Sqlite SqliteConnection - 60 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die Mono.Data.Sqlite.SqliteConnection, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.
The ConnectionString property of the SqliteConnection class can contain the following parameter(s), delimited with a semi-colon: ParameterValuesRequiredDefaultData Source{filename}YVersion3N3UseUTF16EncodingTrue FalseNFalseDateTimeFormatTicks - Use DateTime.Ticks ISO8601 - Use ISO8601 DateTime formatNISO8601BinaryGUIDTrue - Store GUID columns in binary form False - Store GUID columns as textNTrueCache Size{size in bytes}N2000SynchronousNormal - Normal file flushing behavior Full - Full flushing after all writes Off - Underlying OS flushes I/O'sNNormalPage Size{size in bytes}N1024Password{password}NEnlistY - Automatically enlist in distributed transactions N - No automatic enlistmentNYPoolingTrue - Use connection pooling False - Do not use connection poolingNFalseFailIfMissingTrue - Don't create the database if it does not exist, throw an error instead False - Automatically create the database if it does not existNFalseMax Page Count{size in pages} - Limits the maximum number of pages (limits the size) of the databaseN0Legacy FormatTrue - Use the more compatible legacy 3.x database format False - Use the newer 3.3x database format which compresses numbers more effectivelyNFalseDefault Timeout{time in seconds} The default command timeoutN30Journal ModeDelete - Delete the journal file after a commit Persist - Zero out and leave the journal file on disk after a commit Off - Disable the rollback journal entirelyNDeleteRead OnlyTrue - Open the database for read only access False - Open the database for normal read/write accessNFalseMax Pool SizeThe maximum number of connections for the given connection string that can be in the connection poolN100Default IsolationLevelThe default transaciton isolation levelNSerializable