IActionQueryAddSequenceRetrievalQuery Method (DbCommand, Boolean) |
Adds a new sequence retrieval query to this query
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax ISequenceRetrievalQuery AddSequenceRetrievalQuery(
DbCommand sequenceRetrievalCommand,
bool executeSequenceCommandFirst
)
Function AddSequenceRetrievalQuery (
sequenceRetrievalCommand As DbCommand,
executeSequenceCommandFirst As Boolean
) As ISequenceRetrievalQuery
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.
Return Value
Type:
ISequenceRetrievalQuerythe SequenceRetrievalQuery added
See Also