ActionQuery Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The ActionQuery type exposes the following members.
Name | Description | |
---|---|---|
ActionQuery(DbCommand) |
CTor
| |
ActionQuery(DbConnection, DbCommand) |
CTor
|
Name | Description | |
---|---|---|
Command |
The command used for this query.
(Inherited from Query.) | |
Connection |
The connection object to use with the Command (Inherited from Query.) | |
ForcedReturnValue |
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.
| |
ParameterFieldRelations |
List with the IParameterFieldRelation instances for the relations between entity fields and output parameters.
(Inherited from Query.) | |
ParameterParameterRelations |
Gets the parameter parameter relations for this IActionQuery. These definitions are used for insert queries in multi-target entity inserts.
| |
Parameters |
The list of parameters used in the Command.
(Inherited from Query.) | |
SequenceRetrievalQueries |
Array list of ISequenceRetrievalQuery objects which are used to produce sequence values for input/output parameters in
this query. Normally this collection is empty, as it is only used when the target database provider doesn't support batched
queries (firebird/access/sqlce and others). Execute will wire the transaction if present.
|
Name | Description | |
---|---|---|
AddParameter |
Adds the parameter to the query's command.
(Inherited from Query.) | |
AddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter) |
Adds a new IParameterFieldRelation to the collection of ParameterFieldRelations. An output parameter can be
stored once in the collection.
(Inherited from Query.) | |
AddParameterFieldRelation(IEntityFieldCore, DbParameter, TypeConverter, Boolean) |
Adds a new IParameterFieldRelation to the collection of ParameterFieldRelations. An output parameter can be
stored once in the collection.
(Inherited from Query.) | |
AddParameters |
Adds the parameters to the query's command.
(Inherited from Query.) | |
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.
(Inherited from Query.) | |
Dispose(Boolean) |
Performs the dispose action.
(Overrides QueryDispose(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute |
Executes the query contained by the IQuery instance. If there was nothing to execute, 0 is returned.
| |
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.) | |
GetExceptionInfo |
Gets the exception info using the info retriever set to this query object.
(Inherited from Query.) | |
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.) | |
ReflectOutputValuesInRelatedFields |
Will walk all IParameterFieldRelation instances of this query and reflect the parameter values in the related fields.
Only output parameters are taken into account. Used by Insert queries which retrieve Identity / sequence values back from the database
after a succesful insert.
(Inherited from Query.) | |
SetCommandText |
Sets the command text to the text specified
(Inherited from Query.) | |
SetCommandTimeout |
Sets the command timeout.
(Inherited from Query.) | |
ToString |
Produces a string representation of this query.
(Overrides QueryToString.) | |
ToString(Boolean) |
Overloaded ToString implementation
(Inherited from Query.) | |
WireTransaction |
Wires the command of this query with the transaction passed in.
(Inherited from Query.) |