MySQL · Types · Procedures and functions
ArxExecuteOptions
Definition
- Namespace
ARX.SDK.Services- Package
ARX.SDK
public sealed class ArxExecuteOptionsOptions for one Execute call.
Properties
int? CommandTimeout { get; init; }The command timeout in seconds for this call; null keeps the driver's default (30 s in the PostgreSQL, SQL Server and MySQL drivers). Long jobs set it.
bool CollectMessages { get; init; }True (the default): the messages the routine sends while it runs (notices, warnings) are collected into
Messages. Never logged.
Usage
A line from a verified sample; the full, runnable code is on its page.
var result = await dbContext.Service.ExecuteAsync(Job("SO-E92"), new ArxExecuteOptions { CommandTimeout = 600 });A nightly job that commits in batches, scenario 2
Used in: