Click or drag to resize

IQuery Interface

The interface for dynamic created queries. Generic

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public interface IQuery : IDisposable

The IQuery type exposes the following members.

Properties
  NameDescription
Public propertyCommand
The command used for this query.
Public propertyConnection
The connection object to use with the Command
Public propertyParameterFieldRelations
Array list with the IParameterFieldRelation instances for the relations between IEntityFields and output parameters.
Public propertyParameters
The list of parameters used in the Command.
Top
Methods
  NameDescription
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 methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodReflectOutputValuesInParameterValues
Reflects the output values of output parameters in parameter values, if any.
Public methodReflectOutputValuesInRelatedFields
Will walk all IParameterFieldRelation instances of this query and reflect the parameter values in the related fields. Only output parameters are taken into account.
Public methodSetCommandText
Sets the command text to the text specified
Public methodSetCommandTimeout
Sets the command timeout.
Public methodWireTransaction
Wires the command of this query with the transaction passed in.
Top
See Also