SQLite3Open Method (String, ConnectionFlags, String) |
Opens a SQLite database.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static SQLiteDatabaseConnection Open(
string filename,
ConnectionFlags flags,
string vfs
)
static member Open :
filename : string *
flags : ConnectionFlags *
vfs : string -> SQLiteDatabaseConnection
Parameters
- filename
- Type: SystemString
The database filename. - flags
- Type: SQLitePCL.prettyConnectionFlags
ConnectionFlags used to defined if the database is readonly,
read/write and whether a new database file should be created if it does not already exist. - vfs
- Type: SystemString
The name of the sqlite3_vfs object that defines the operating system interface
that the new database connection should use. If , then
the default sqlite3_vfs object is used.
Return Value
Type:
SQLiteDatabaseConnectionA
SQLiteDatabaseConnection instance.
See Also