BatchActionQuery Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The BatchActionQuery type exposes the following members.
Name | Description | |
---|---|---|
BatchActionQuery |
Creates a new BatchActionQuery instance.
|
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.
| |
SequenceRetrievalQueries |
Gets the sequence retrieval queries. Not implemented in BatchActionQueries.
|
Name | Description | |
---|---|---|
AddActionQuery |
Adds the action query passed in.
| |
AddOutputParameterForReader |
Adds the specified parameter to the set of output parameters for a dbreader exectured query. These parameters aren't part of the dbcommand, and are filled
with resultsets. All parameters are expected in each resultsets returned by the dbdatareader returned when this query is executed.
| |
AddOutputParameterValueForSync |
Adds the output parameter value for synchronization with the enclosed DbParameter, after the query has been executed.
| |
AddParameter |
Adds the parameter to the query's command.
| |
AddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter) |
Adds a new IParameterFieldRelation to the collection of ParameterFieldRelations. An output parameter can be
stored once in the collection.
| |
AddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter, Boolean) |
Adds a new IParameterFieldRelation to the collection of ParameterFieldRelations. An output parameter can be
stored once in the collection.
| |
AddParameters |
Adds the parameters to the query's command.
| |
AddSequenceRetrievalQuery(DbCommand, Boolean) |
Adds a new sequence retrieval query to this query
| |
AddSequenceRetrievalQuery(DbCommand, Boolean, Boolean) |
Adds a new sequence retrieval query to this query
| |
AddSequenceRetrievalQuery(DbCommand, Boolean, ListDbParameter) |
Adds a new sequence retrieval query to this query
| |
AddSequenceRetrievalQuery(DbCommand, Boolean, Boolean, ListDbParameter) |
Adds a new sequence retrieval query to this query
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources.
| |
Dispose(Boolean) |
Performs the dispose action.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute |
Executes all action queries in this batchactionquery, in the order in which they were added.
| |
ExecuteAsync |
Async variant of Execute.
Executes the query contained by the IQuery instance.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MergeInto |
Merges all data of query into this query's QueryToExecute. It moves parameters and other elements. Query is after this not usable anymore.
| |
ReflectOutputValuesInParameterValues |
Reflects the output values of output parameters in parameter values, if any.
| |
ReflectOutputValuesInRelatedFields |
Reflects the output values in related fields for all actionqueries in this batchactionquery.
| |
SetCommandText |
Sets the command text to the text specified
| |
SetCommandTimeout |
Sets the command timeout.
| |
ToString |
Produces a string representation of this batch action query.
(Overrides ObjectToString.) | |
WireTransaction |
Wires the command of this query with the transaction passed in.
|
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.
|