Query ClassNReco.Data Class Library Documentation
Represents abstract data query structure.
Inheritance Hierarchy

System Object
  NReco.Data QNode
    NReco.Data Query

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public class Query : QNode, IQueryValue

The Query type exposes the following members.

Constructors

  NameDescription
Public methodQuery(QTable)
Initializes a new instance of the Query with specified table
Public methodQuery(Query)
Initializes a new instance of the Query with identical options of specified query
Public methodQuery(QTable, QNode)
Initializes a new instance of the Query with specified table and condition
Top
Methods

  NameDescription
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.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(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.)
Public methodOrderBy
Set query sort by specified list of QSort
Public methodSelect
Set query fields by specified list of field names
Public methodSetVars
Finds all QVar constants ("name":var in relex) and passes them to specified set handler.
Public methodToString
Returns a string that represents current query in relex format
(Overrides Object ToString .)
Top
Properties

  NameDescription
Public propertyCondition
Query conditions tree. Can be null.
Public propertyExtendedProperties
Get or set query extended properties.
Public propertyFields
List of fields to load. Null means all available fields.
Public propertyName (Inherited from QNode.)
Public propertyNodes
List of child nodes
(Overrides QNode Nodes.)
Public propertyRecordCount
Get or set max records count to load
Public propertyRecordOffset
Get or set starting record to load
Public propertySort
List of sort fields. Can be null.
Public propertyTable
Get or set target source name of this query
Top
See Also