<PackageReference Include="Relativity.Api" Version="10.3.287.3" />

IQuery

public interface IQuery
A collection of properties required for executing most asynchronous IDBContext calls. A convenience implementation is provided in ContextQuery

The object used to cancel an asynchronously-running query. Defaults to None.

When true, the query's command will be executed with the StoredProcedure option.

int? ExecutionTimeout { get; }

When not null and greater than zero, value is supplied to the query's command CommandTimeout. When null or less than one, command's CommandTimeout is set to whatever's configured in the enviroment's CommandTimeout instance setting.

The parameters to be supplied to the query's command.

string SqlStatement { get; }

The SQL Statement to be executed. Must be not null or whitespace.