Click or drag to resize

Query Class

Abstract query class for the various query objects in the framework.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
[SerializableAttribute]
public abstract class Query : IQuery, 
	IDisposable

The Query type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCommand
The command used for this query.
Public propertyConnection
The connection object to use with the Command
Public propertyParameterFieldRelations
List with the IParameterFieldRelation instances for the relations between entity fields 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.
Protected methodDispose(Boolean)
Performs the dispose action.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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.)
Protected methodGetExceptionInfo
Gets the exception info using the info retriever set to this query 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.)
Protected methodMergeParameterFieldRelations
Merges the passed in elements in toMerge into this instance. It's up to the caller to remove the elements from the set passed in.
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. Used by Insert queries which retrieve Identity / sequence values back from the database after a succesful insert.
Public methodSetCommandText
Sets the command text to the text specified
Public methodSetCommandTimeout
Sets the command timeout.
Public methodToString
Overloaded ToString implementation
(Overrides ObjectToString.)
Public methodToString(Boolean)
Overloaded ToString implementation
Public methodWireTransaction
Wires the command of this query with the transaction passed in.
Top
See Also