Click or drag to resize

BatchActionQueryAddSequenceRetrievalQuery Method (DbCommand, Boolean, Boolean, ListDbParameter)

Adds a new sequence retrieval query to this query

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public ISequenceRetrievalQuery AddSequenceRetrievalQuery(
	DbCommand sequenceRetrievalCommand,
	bool executeSequenceCommandFirst,
	bool setParametersAsOutputParameters,
	List<DbParameter> sequenceParameters
)

Parameters

sequenceRetrievalCommand
Type: System.Data.CommonDbCommand
The Scalar command used to retrieve the used/to use sequence value. This command will be executed as a scalar query and depending on ExecuteSequenceCommandFirst it will be executed before or after the actual query.
executeSequenceCommandFirst
Type: SystemBoolean
Flag to signal if SequenceRetrievalCommand has to be executed before (true) or after (false) the actual query in this ActionQuery object.
setParametersAsOutputParameters
Type: SystemBoolean
Used to make SequenceParameters 'output' parameters. Required for Access. Default: false;
sequenceParameters
Type: System.Collections.GenericListDbParameter
List with the parameter objects in the actual query which need the value returned by the execution of the command

Return Value

Type: ISequenceRetrievalQuery
the SequenceRetrievalQuery added

Implements

IActionQueryAddSequenceRetrievalQuery(DbCommand, Boolean, Boolean, ListDbParameter)
See Also