Represents a parsed connection string.
More...
|
| SQLiteConnectionString (string databasePath, bool storeDateTimeAsTicks=true) |
| Constructs a new SQLiteConnectionString with all the data needed to open an SQLiteConnection. More...
|
|
| SQLiteConnectionString (string databasePath, bool storeDateTimeAsTicks, object key=null, Action< SQLiteConnection > preKeyAction=null, Action< SQLiteConnection > postKeyAction=null, string vfsName=null) |
| Constructs a new SQLiteConnectionString with all the data needed to open an SQLiteConnection. More...
|
|
| SQLiteConnectionString (string databasePath, SQLiteOpenFlags openFlags, bool storeDateTimeAsTicks, object key=null, Action< SQLiteConnection > preKeyAction=null, Action< SQLiteConnection > postKeyAction=null, string vfsName=null, string dateTimeStringFormat=DateTimeSqliteDefaultFormat, bool storeTimeSpanAsTicks=true) |
| Constructs a new SQLiteConnectionString with all the data needed to open an SQLiteConnection. More...
|
|
|
string | UniqueKey [get] |
| Readonly, set by a constructor of the SQLConnectionString The unique encryption key More...
|
|
string | DatabasePath [get] |
| Readonly, set by a constructor of the SQLConnection the Path to the SQLIte-Net Database More...
|
|
bool | StoreDateTimeAsTicks [get] |
|
bool | StoreTimeSpanAsTicks [get] |
|
string | DateTimeStringFormat [get] |
|
Readonly, set by a constructor of the SQLConnection the date and time format, as stored on the database More...
|
|
System.Globalization.DateTimeStyles | DateTimeStyle [get] |
|
Readonly, set by a constructor of the SQLConnection the date and time style, of the local system More...
|
|
object | Key [get] |
| Readonly, set by a constructor of the SQLConnection the encryption key to use on the database More...
|
|
SQLiteOpenFlags | OpenFlags [get] |
|
Readonly, set by a constructor of the SQLConnection Flags we use to open the connection More...
|
|
Action< SQLiteConnection > | PreKeyAction [get] |
| Readonly, set by a constructor of the SQLConnection
Action prior the setting the key for SQLCipher databases More...
|
|
Action< SQLiteConnection > | PostKeyAction [get] |
| Readonly, set by a constructor of the SQLConnection
Action after setting the key for SQLCipher databases More...
|
|
string | VfsName [get] |
| Readonly, set by a constructor of the SQLConnection the Virtual File System to use on the database. More...
|
|
Represents a parsed connection string.
◆ SQLiteConnectionString() [1/3]
SQLite.SQLiteConnectionString.SQLiteConnectionString |
( |
string |
databasePath, |
|
|
bool |
storeDateTimeAsTicks = true |
|
) |
| |
Constructs a new SQLiteConnectionString with all the data needed to open an SQLiteConnection.
- Parameters
-
databasePath | Specifies the path to the database file. |
storeDateTimeAsTicks | Specifies whether to store DateTime properties as ticks (true) or strings (false). You absolutely do want to store them as Ticks in all new projects. The value of false is only here for backwards compatibility. There is a significant speed advantage, with no down sides, when setting storeDateTimeAsTicks = true. If you use DateTimeOffset properties, it will be always stored as ticks regardingless the storeDateTimeAsTicks parameter. |
◆ SQLiteConnectionString() [2/3]
SQLite.SQLiteConnectionString.SQLiteConnectionString |
( |
string |
databasePath, |
|
|
bool |
storeDateTimeAsTicks, |
|
|
object |
key = null , |
|
|
Action< SQLiteConnection > |
preKeyAction = null , |
|
|
Action< SQLiteConnection > |
postKeyAction = null , |
|
|
string |
vfsName = null |
|
) |
| |
Constructs a new SQLiteConnectionString with all the data needed to open an SQLiteConnection.
- Parameters
-
databasePath | Specifies the path to the database file. |
storeDateTimeAsTicks | Specifies whether to store DateTime properties as ticks (true) or strings (false). You absolutely do want to store them as Ticks in all new projects. The value of false is only here for backwards compatibility. There is a significant speed advantage, with no down sides, when setting storeDateTimeAsTicks = true. If you use DateTimeOffset properties, it will be always stored as ticks regardingless the storeDateTimeAsTicks parameter. |
key | Specifies the encryption key to use on the database. Should be a string or a byte[]. |
preKeyAction | Executes prior to setting key for SQLCipher databases |
postKeyAction | Executes after setting key for SQLCipher databases |
vfsName | Specifies the Virtual File System to use on the database. |
◆ SQLiteConnectionString() [3/3]
SQLite.SQLiteConnectionString.SQLiteConnectionString |
( |
string |
databasePath, |
|
|
SQLiteOpenFlags |
openFlags, |
|
|
bool |
storeDateTimeAsTicks, |
|
|
object |
key = null , |
|
|
Action< SQLiteConnection > |
preKeyAction = null , |
|
|
Action< SQLiteConnection > |
postKeyAction = null , |
|
|
string |
vfsName = null , |
|
|
string |
dateTimeStringFormat = DateTimeSqliteDefaultFormat , |
|
|
bool |
storeTimeSpanAsTicks = true |
|
) |
| |
Constructs a new SQLiteConnectionString with all the data needed to open an SQLiteConnection.
- Parameters
-
databasePath | Specifies the path to the database file. |
openFlags | Flags controlling how the connection should be opened. |
storeDateTimeAsTicks | Specifies whether to store DateTime properties as ticks (true) or strings (false). You absolutely do want to store them as Ticks in all new projects. The value of false is only here for backwards compatibility. There is a significant speed advantage, with no down sides, when setting storeDateTimeAsTicks = true. If you use DateTimeOffset properties, it will be always stored as ticks regardingless the storeDateTimeAsTicks parameter. |
key | Specifies the encryption key to use on the database. Should be a string or a byte[]. |
preKeyAction | Executes prior to setting key for SQLCipher databases |
postKeyAction | Executes after setting key for SQLCipher databases |
vfsName | Specifies the Virtual File System to use on the database. |
dateTimeStringFormat | Specifies the format to use when storing DateTime properties as strings. |
storeTimeSpanAsTicks | Specifies whether to store TimeSpan properties as ticks (true) or strings (false). You absolutely do want to store them as Ticks in all new projects. The value of false is only here for backwards compatibility. There is a significant speed advantage, with no down sides, when setting storeTimeSpanAsTicks = true. |
◆ DatabasePath
string SQLite.SQLiteConnectionString.DatabasePath |
|
get |
Readonly, set by a constructor of the SQLConnection the Path to the SQLIte-Net Database
◆ DateTimeStringFormat
string SQLite.SQLiteConnectionString.DateTimeStringFormat |
|
get |
Readonly, set by a constructor of the SQLConnection the date and time format, as stored on the database
◆ DateTimeStyle
System.Globalization.DateTimeStyles SQLite.SQLiteConnectionString.DateTimeStyle |
|
get |
Readonly, set by a constructor of the SQLConnection the date and time style, of the local system
◆ Key
object SQLite.SQLiteConnectionString.Key |
|
get |
Readonly, set by a constructor of the SQLConnection the encryption key to use on the database
◆ OpenFlags
Readonly, set by a constructor of the SQLConnection Flags we use to open the connection
◆ PostKeyAction
Readonly, set by a constructor of the SQLConnection
Action after setting the key for SQLCipher databases
◆ PreKeyAction
Readonly, set by a constructor of the SQLConnection
Action prior the setting the key for SQLCipher databases
◆ StoreDateTimeAsTicks
bool SQLite.SQLiteConnectionString.StoreDateTimeAsTicks |
|
get |
<summary Readonly, set by a constructor of the SQLConnection
the date and time as Ticks, stored on the database
◆ StoreTimeSpanAsTicks
bool SQLite.SQLiteConnectionString.StoreTimeSpanAsTicks |
|
get |
Readonly, set by a constructor of the SQLConnection the date and time as Ticks, as stored on the database
◆ UniqueKey
string SQLite.SQLiteConnectionString.UniqueKey |
|
get |
Readonly, set by a constructor of the SQLConnectionString The unique encryption key
◆ VfsName
string SQLite.SQLiteConnectionString.VfsName |
|
get |
Readonly, set by a constructor of the SQLConnection the Virtual File System to use on the database.
The documentation for this class was generated from the following file:
- /Users/admin/Unity/SQLite-Extended/Assets/Picon-SQL/Core/SQLite/SQLiteConnectionString.cs