dotConnect for SQLite Documentation
Devart.Common Namespace / DbConnectionStringBuilder Class / RunOnceCommand Property

In This Topic
RunOnceCommand Property
In This Topic
Specifies a data source-specific command that should be executed immediately after first establishing the connection. Unlike InitializationCommand, this command is not executed when a connection is taken from the pool.
Syntax
'Declaration
 
Public Property RunOnceCommand As String
 

Property Value

A data source-specific command that should be executed immediately after establishing the connection.
Remarks
If this command fails, the connection is not established. Devart.Data.SQLite.SQLiteConnection throws an exception with the error returned by SQLite.
See Also