IRetrievalQuery Methods |
The IRetrievalQuery type exposes the following members.
Name | Description | |
---|---|---|
AddOutputParameterValueForSync |
Adds the output parameter value for synchronization with the enclosed DbParameter, after the query has been executed.
(Inherited from IQuery.) | |
AddParameter |
Adds the parameter to the query's command.
(Inherited from IQuery.) | |
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 IQuery.) | |
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 IQuery.) | |
AddParameters |
Adds the parameters to the query's command.
(Inherited from IQuery.) | |
CacheCurrentRow |
Caches the current row of the datareader as-is in the cached resultset.
| |
ConvertToActionQuery |
Creates an action query from this query.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Execute |
Executes the query contained by the IQuery instance. The connection has to be opened before calling Execute().
| |
ExecuteAsync |
Async variant of Execute(CommandBehavior).
Executes the query contained by the IQuery instance. The connection has to be opened before calling Execute().
| |
ExecuteScalar |
Executes the query contained by the IQuery instance as a scalar query.
| |
ExecuteScalarAsync |
Async variant of ExecuteScalar.
Executes the query contained by the IQuery instance as a scalar query.
| |
ReadComplete |
Called when the consumer is done with the resultset read. Call this method to signal that the retrievalquery can cache its
resultset, if required.
| |
ReflectOutputValuesInParameterValues |
Reflects the output values of output parameters in parameter values, if any.
(Inherited from IQuery.) | |
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.
(Inherited from IQuery.) | |
SetCommandText |
Sets the command text to the text specified
(Inherited from IQuery.) | |
SetCommandTimeout |
Sets the command timeout.
(Inherited from IQuery.) | |
WireTransaction |
Wires the command of this query with the transaction passed in.
(Inherited from IQuery.) |