Mono.Data.Sqlite.SqliteConnection.ConnectionString Property
The connection string containing the parameters for the connection

Syntax

[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.Editor("SQLite.Designer.SqliteConnectionStringEditor, SQLite.Designer, Version=1.0.36.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
public override string ConnectionString { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

ParameterValuesRequiredDefault
Data Source{filename}Y
Version3N3
UseUTF16Encoding True False NFalse
DateTimeFormat Ticks - Use DateTime.TicksISO8601 - Use ISO8601 DateTime formatJulianDay - Use JulianDay formatNISO8601
BinaryGUID Yes/On/1 - Store GUID columns in binary formNo/Off/0 - Store GUID columns as textNOn
Cache Size{size in bytes}N2000
Synchronous Normal - Normal file flushing behaviorFull - Full flushing after all writesOff - Underlying OS flushes I/O'sNNormal
Page Size{size in bytes}N1024
Password{password}N
Enlist Y - Automatically enlist in distributed transactionsN - No automatic enlistmentNY
Pooling True - Use connection poolingFalse - Do not use connection poolingNFalse
FailIfMissing True - Don't create the database if it does not exist, throw an error insteadFalse - Automatically create the database if it does not existNFalse
Max Page Count{size in pages} - Limits the maximum number of pages (limits the size) of the databaseN0
Legacy Format True - Use the more compatible legacy 3.x database formatFalse - Use the newer 3.3x database format which compresses numbers more effectivelyNFalse
Default Timeout{time in seconds}The default command timeoutN30
Journal Mode Delete - Delete the journal file after a commitPersist - Zero out and leave the journal file on disk after a commitOff - Disable the rollback journal entirelyNDelete
Read Only True - Open the database for read only accessFalse - Open the database for normal read/write accessNFalse
Max Pool SizeThe maximum number of connections for the given connection string that can be in the connection poolN100
Default IsolationLevelThe default transaciton isolation levelNSerializable

Requirements

Namespace: Mono.Data.Sqlite
Assembly: Mono.Data.Sqlite (in Mono.Data.Sqlite.dll)
Assembly Versions: 4.0.0.0