BatchActionQuery Properties |
The BatchActionQuery type exposes the following members.
Name | Description | |
---|---|---|
ActionQueries |
Gets the actionQueries set in this batch action query object.
| |
CanBePacked |
Gets a value signalling whether this query can be packed in a packed query (true) or not (false). A query can be packed if it's not a batchquery and there are no
parameter-parameter relations pending or parameter-field relations with self.
| |
Command |
Gets or sets the command. Not implemented on Batch action query objects. Use the indexer instead.
| |
Connection |
Gets or sets the connection for this action query object. Get will return the connection of the first action query stored.
Set will set the connection on all actionquery objects.
| |
Count |
Gets the number of IActionQueries in this query.
| |
ExceptionInfoRetriever |
Gets / sets the ExceptionInfoRetriever object to retrieve db specific info from a db specific exception.
| |
ExecuteThroughDbDataReader |
If true (Default false) it will execute the command through ExecuteReader instead of ExecuteNonQuery and will assume output parameters are part of one or more
resultsets. Output parameters are expected to be added through AddOutputParameterForReader(DbParameter), and are set through ordinal (so first parameter is set with value at
ordinal 0).
| |
Item |
Gets or sets the ActionQuery at the specified index.
| |
OutputParametersForReader |
Gets the set of parameters set for the dbdatareader fill procedure. these parameters are added through AddOutputParameterForReader(DbParameter) and aren't part of
the command.
| |
ParameterFieldRelations |
Gets the parameter field relations.
| |
ParameterParameterRelations |
Gets the parameter parameter relations for this IActionQuery. These definitions are used for insert queries in multi-target entity inserts.
| |
Parameters |
Gets the parameters of all queries.
| |
ReturnValueParameter |
If set, it will be used for the value returned in ExecuteNonQuery and will override the value ExecuteNonQuery returns or which is set in ForcedReturnValue.
| |
SequenceRetrievalQueries |
Gets the sequence retrieval queries. Not implemented in BatchActionQueries.
|
Name | Description | |
---|---|---|
IActionQueryForcedReturnValue |
Gets or sets the forced return value. If smaller than 0, the value returned by the command is used, otherwise this value.
Set by DQEs which know up front the query won't return a valid return value, because batching is used.
|