QueryHelper Methods |
The QueryHelper type exposes the following members.
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.
| |
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.
| |
GetControlClientId |
Returns control client ID from a query parameter or default value
if parameter is not a valid control client ID.
| |
GetDecimal |
Returns the decimal representation of a query parameter or default value if parameter is not a decimal number.
| |
GetDouble |
Returns the double representation of a query parameter or default value if parameter is not a double 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.
| |
GetInteger |
Returns the integer representation of a query parameter or default value
if parameter is not an integer number.
| |
GetParameterString |
Returns string containing all parameters and their values from RouteValues and QueryString.
Parameters are sorted by their names and merged together with QueryString having precedence over RouteValues.
| |
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.
| |
GetValue |
Gets the value from QueryString.
| |
SetValue |
Not implemented.
| |
ToString |
Returns the string representation of the query string
(Overrides ObjectToString.) | |
TryGetValue |
Returns value of column.
| |
ValidateHash |
Validates given QueryString against hash.
| |
ValidateHashString |
Validates given value against hash.
|
Name | Description | |
---|---|---|
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |