The QueryHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
|  | QueryHelper | 
Methods
| Name | Description | |
|---|---|---|
|   | BuildQuery | 
            Build the query from the given items
             | 
|   | BuildQueryWithHash | 
            Build the query from the given items and adds the hash to the query
             | 
|   | Contains | 
            Returns true if query parameter is present in the query string.
             | 
|  | ContainsColumn | 
            Returns true if the object contains specified column.
             | 
|  |  Equals | (Inherited from  Object.) | 
|  |  Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from  Object.) | 
|   | GetBoolean | 
            Returns the boolean representation of a query parameter or default value
            if parameter is not boolean.
             | 
|   | GetColor | 
            Returns the color representation of a query parameter or default value
            if parameter is not a valid color.
             | 
|   | GetDouble | 
            Returns the double representation of a query parameter or default value
            if parameter is not an integer number.
             | 
|   | GetGuid | 
            Returns the GUID representation of a query parameter or default value
            if parameter is not GUID.
             | 
|   | GetHash(String) | 
            Generates hash for given QueryString.
             | 
|   | GetHash(String, Boolean) | 
            Generates hash for given QueryString.
             | 
|   | GetHash(String, Boolean, Boolean) | 
            Generates hash for given QueryString.
             | 
|  |  GetHashCode | Serves as a hash function for a particular type. (Inherited from  Object.) | 
|   | GetInteger | 
            Returns the integer representation of a query parameter or default value
            if parameter is not an integer number.
             | 
|   | GetSQLSafeText | 
            Returns the value of the specified query string parameter, with dangerous SQL characters (' or patterns) encoded. Returns the default value if the parameter is not present in the URL.
             | 
|   | GetString | 
            Returns query string parameter or default value if query string is not defined.
             | 
|   | GetText | 
            Returns HTML encoded query string parameter or default value if query string is not defined.
             | 
|  |  GetType | Gets the (Inherited from  Type of the current instance.  Object.) | 
|  | GetValue | 
            Gets the value from QueryString.
             | 
|  |  MemberwiseClone | Creates a shallow copy of the current (Inherited from  Object.  Object.) | 
|  | SetValue | 
            Not implemented.
             | 
|  | ToString | 
            Returns the string representation of the query string
            (Overrides  Object ToString .) | 
|  | TryGetValue | 
            Returns value of column.
             | 
|   | ValidateHash | 
             Validates given QueryString against hash.
             | 
|   | ValidateHashString | 
             Validates given value against hash.
             | 
Extension Methods
| Name | Description | |
|---|---|---|
|  | CopyTo | 
            Copies the data of specified columns of the source object to the target object.
            (Defined by DataExtensions.) | 
|  | GetAPIString | 
            Gets the string by the specified resource key
            (Defined by CoreExtensions.) | 
|  | GetString | 
            Gets the string by the specified resource key
            (Defined by CoreExtensions.) | 
|  | CheckRequiredColumns | 
            Returns true if given list of columns do not have null values in the object
            (Defined by DataExtensions.) | 
|  | ToBoolean | 
            Returns the boolean representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToDateTime | 
            Returns the DateTime representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToDouble | 
            Returns the double representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToGuid | 
            Returns the Guid representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToInteger | 
            Returns the integer representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToJSON | 
            Returns JSON representation of current instance of IDataContainer.
            (Defined by DataExtensions.) | 
|  | ToString | 
            Returns the string representation of an object or default value if not.
            (Defined by CoreExtensions.) | 
|  | ToXML | 
            Returns XML representation of current instance of IDataContainer.
            (Defined by DataExtensions.) | 
Properties
| Name | Description | |
|---|---|---|
|  | ColumnNames | 
            Column names.
             | 
|   | EncodedQueryString | 
            Returns html encoded query string. 
             | 
|   | HashEnabled | 
            If true, the hash check is enabled.
             | 
|   | Instance | 
            Singleton Instance of the query helper.
             | 
|  | Item | 
            Gets or sets the value of the column.
             | 
|   | QueryString | 
            Query string
             | 
See Also