IDatabaseFireAndForget Method (String, ExecuteOptions, String, FireAndForgetOptions) |
Execute the specified SQL asynchronously. The SQL execution is spun off to the thread pool to be executed when
a thread becomes available, and control is returned to the caller immediately.
Note that there is no way to get the result, or success/failure of the execution except to query if from the database.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax void FireAndForget(
string source,
ExecuteOptions options,
string logSource,
FireAndForgetOptions fafAttrs
)
Sub FireAndForget (
source As String,
options As ExecuteOptions,
logSource As String,
fafAttrs As FireAndForgetOptions
)
Parameters
- source
- Type: SystemString
The SQL statement to execute. - options
- Type: NetQuarryExecuteOptions
Options about how to execute the Statement. - logSource
- Type: SystemString
The source of the operation, to be logged to the devlog. - fafAttrs
- Type: NetQuarryFireAndForgetOptions
Options controlling the behavior of FireAndForget.FireAndForgetOptions
See Also