UtilSQLiteOpenDatabase(String, NameValueCollection) Method
Opens a SQL database file and returns a SQLiteConnection
with the specified connection parameters.
Namespace: DevCase.ThirdParty.SQLiteAssembly: DevCase.net48.ThirdParty.SQLite (in DevCase.net48.ThirdParty.SQLite.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static SQLiteConnection OpenDatabase(
string path,
NameValueCollection parameters
)
Public Shared Function OpenDatabase (
path As String,
parameters As NameValueCollection
) As SQLiteConnection
Dim path As String
Dim parameters As NameValueCollection
Dim returnValue As SQLiteConnection
returnValue = UtilSQLite.OpenDatabase(path,
parameters)
public:
static SQLiteConnection^ OpenDatabase(
String^ path,
NameValueCollection^ parameters
)
static member OpenDatabase :
path : string *
parameters : NameValueCollection -> SQLiteConnection
No code example is currently available or this language may not be supported.
- path String
-
Full path of the database file.
- parameters NameValueCollection
-
The connection parameters.
SQLiteConnection
The resulting
SQLiteConnection
This is a code example to automate Firefox borwser.
No code example is currently available or this language may not be supported.
Dim parameters As New NameValueCollection(EqualityComparer(Of String).Default) From {
{"Version", "3"},
{"Read Only", False},
{"UTF8Encoding", True}
}
Using db As System.Data.SQLite.SQLiteConnection = SQLiteUtil.OpenDatabase("C:\Database.db", parameters)
'...
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.