Click or drag to resize

SQLiteConnection Constructor (String, Boolean)

Constructs a new SQLiteConnection and opens a SQLite database specified by databasePath.

Namespace:  SQLite
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public SQLiteConnection(
	string databasePath,
	bool storeDateTimeAsTicks = false
)

Parameters

databasePath
Type: SystemString
Specifies the path to the database file.
storeDateTimeAsTicks (Optional)
Type: SystemBoolean
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 default of false is only here for backwards compatibility. There is a *significant* speed advantage, with no down sides, when setting storeDateTimeAsTicks = true.
See Also