SQLiteDatabaseConnectionBuilderWith Method |
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public SQLiteDatabaseConnectionBuilder With(
string fileName = null,
Nullable<int> autoCheckPointCount = null,
Func<ActionCode, string, string, string, string, AuthorizerReturnCode> authorizer = null,
Nullable<TimeSpan> busyTimeout = null,
Func<bool> commitHook = null,
Nullable<ConnectionFlags> connectionFlags = null,
Func<bool> progressHandler = null,
Nullable<int> progressHandlerInterval = null,
string vfs = null
)
member With :
?fileName : string *
?autoCheckPointCount : Nullable<int> *
?authorizer : Func<ActionCode, string, string, string, string, AuthorizerReturnCode> *
?busyTimeout : Nullable<TimeSpan> *
?commitHook : Func<bool> *
?connectionFlags : Nullable<ConnectionFlags> *
?progressHandler : Func<bool> *
?progressHandlerInterval : Nullable<int> *
?vfs : string
(* Defaults:
let _fileName = defaultArg fileName null
let _autoCheckPointCount = defaultArg autoCheckPointCount null
let _authorizer = defaultArg authorizer null
let _busyTimeout = defaultArg busyTimeout null
let _commitHook = defaultArg commitHook null
let _connectionFlags = defaultArg connectionFlags null
let _progressHandler = defaultArg progressHandler null
let _progressHandlerInterval = defaultArg progressHandlerInterval null
let _vfs = defaultArg vfs null
*)
-> SQLiteDatabaseConnectionBuilder
Parameters
- fileName (Optional)
- Type: SystemString
The filename of the database file. - autoCheckPointCount (Optional)
- Type: SystemNullableInt32
The number of frames in the write-ahead log file that causes any database on
database connection D to automatically checkpoint.
See: https://www.sqlite.org/c3ref/wal_autocheckpoint.html - authorizer (Optional)
- Type: SystemFuncActionCode, String, String, String, String, AuthorizerReturnCode
The authorizer callback used by created SQLiteDatabaseConnection instances.
See: https://www.sqlite.org/c3ref/set_authorizer.html - busyTimeout (Optional)
- Type: SystemNullableTimeSpan
The specified amount of time a connection sleeps when a table is locked.
See: https://www.sqlite.org/c3ref/busy_timeout.html - commitHook (Optional)
- Type: SystemFuncBoolean
A callback function to be invoked whenever a transaction is committed.
See: https://www.sqlite.org/c3ref/commit_hook.html - connectionFlags (Optional)
- Type: SystemNullableConnectionFlags
The ConnectionFlags used when creating SQLiteDatabaseConnection instances.
- progressHandler (Optional)
- Type: SystemFuncBoolean
A callback function to be invoked periodically during long running calls to the database connection.
See: https://www.sqlite.org/c3ref/progress_handler.html - progressHandlerInterval (Optional)
- Type: SystemNullableInt32
The approximate number of virtual machine instructions that are evaluated between
successive invocations of the progressHandler callback.
See: https://www.sqlite.org/c3ref/progress_handler.html - vfs (Optional)
- Type: SystemString
Return Value
Type:
SQLiteDatabaseConnectionBuilderA
SQLiteDatabaseConnectionBuilder instance.
See Also