QVar ClassNReco.Data Class Library Documentation
Represents query variable
Inheritance Hierarchy

System Object
  NReco.Data QConst
    NReco.Data QVar

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

public class QVar : QConst, IQueryValue

The QVar type exposes the following members.

Constructors

  NameDescription
Public methodQVar(String)
Initializes a new instance of the QVar with specified variable name
Public methodQVar(String, String)
Initializes a new instance of the QVar with specified variable name and format
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 methodSet
Assigns a value for this variable
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnset
Makes this variable undefined.
Top
Properties

  NameDescription
Public propertyFormat
Get format for variable value (null if formatting is not needed)
Public propertyName
Get variable name
Public propertyType
Get TypeCode of constant value
(Inherited from QConst.)
Public propertyValue
Get actual value represented by this variable
(Overrides QConst Value.)
Top
Remarks

All query variables should be set before processing the query. Accessing undefined variable will cause InvalidOperationException.
See Also