Click or drag to resize
BatchActionQuery Class
Action query which contains multiple action queries which have to be executed in the order in which they're stored. Used for multi-target entities, like saving an inherited entity in a target-per-entity hierarchy.
Async part of BatchActionQuery
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesBatchActionQuery

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public class BatchActionQuery : IActionQuery, 
	IQuery, IDisposable

The BatchActionQuery type exposes the following members.

Constructors
  NameDescription
Public methodBatchActionQuery
Creates a new BatchActionQuery instance.
Top
Properties
  NameDescription
Public propertyActionQueries
Gets the actionQueries set in this batch action query object.
Public propertyCommand
Gets or sets the command. Not implemented on Batch action query objects. Use the indexer instead.
Public propertyConnection
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.
Public propertyCount
Gets the number of IActionQueries in this query.
Public propertyExceptionInfoRetriever
Gets / sets the ExceptionInfoRetriever object to retrieve db specific info from a db specific exception.
Public propertyItem
Gets or sets the ActionQuery at the specified index.
Public propertyParameterFieldRelations
Gets the parameter field relations.
Public propertyParameterParameterRelations
Gets the parameter parameter relations for this IActionQuery. These definitions are used for insert queries in multi-target entity inserts.
Public propertyParameters
Gets the parameters of all queries.
Public propertySequenceRetrievalQueries
Gets the sequence retrieval queries. Not implemented in BatchActionQueries.
Top
Methods
  NameDescription
Public methodAddActionQuery
Adds the action query passed in.
Public methodAddOutputParameterValueForSync
Adds the output parameter value for synchronization with the enclosed DbParameter, after the query has been executed.
Public methodAddParameter
Adds the parameter to the query's command.
Public methodAddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter)
Adds a new IParameterFieldRelation to the collection of ParameterFieldRelations. An output parameter can be stored once in the collection.
Public methodAddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter, Boolean)
Adds a new IParameterFieldRelation to the collection of ParameterFieldRelations. An output parameter can be stored once in the collection.
Public methodAddParameters
Adds the parameters to the query's command.
Public methodAddSequenceRetrievalQuery(DbCommand, Boolean)
Adds a new sequence retrieval query to this query
Public methodAddSequenceRetrievalQuery(DbCommand, Boolean, Boolean)
Adds a new sequence retrieval query to this query
Public methodAddSequenceRetrievalQuery(DbCommand, Boolean, ListDbParameter)
Adds a new sequence retrieval query to this query
Public methodAddSequenceRetrievalQuery(DbCommand, Boolean, Boolean, ListDbParameter)
Adds a new sequence retrieval query to this query
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Performs the dispose action.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Executes all action queries in this batchactionquery, in the order in which they were added.
Public methodExecuteAsync
Async variant of Execute. Executes the query contained by the IQuery instance.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReflectOutputValuesInParameterValues
Reflects the output values of output parameters in parameter values, if any.
Public methodReflectOutputValuesInRelatedFields
Reflects the output values in related fields for all actionqueries in this batchactionquery.
Public methodSetCommandText
Sets the command text to the text specified
Public methodSetCommandTimeout
Sets the command timeout.
Public methodToString
Produces a string representation of this batch action query.
(Overrides ObjectToString.)
Public methodWireTransaction
Wires the command of this query with the transaction passed in.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyIActionQueryForcedReturnValue
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.
Top
See Also