QueryHelper MembersKentico 8.1 API Reference
The QueryHelper type exposes the following members.
Constructors

  NameDescription
Public methodQueryHelper
Back to Top
Methods

  NameDescription
Public methodStatic memberBuildQuery
Build the query from the given items
Public methodStatic memberBuildQueryWithHash( String )
Build the query from the given items and adds the hash to the query. The hash is user-specific.
Public methodStatic memberBuildQueryWithHash(Boolean,  String )
Build the query from the given items and adds the hash to the query
Public methodStatic memberContains
Returns true if query parameter is present in the query string.
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetBoolean
Returns the boolean representation of a query parameter or default value if parameter is not boolean.
Public methodStatic memberGetColor
Returns the color representation of a query parameter or default value if parameter is not a valid color.
Public methodStatic memberGetDouble
Returns the double representation of a query parameter or default value if parameter is not an integer number.
Public methodStatic memberGetGuid
Returns the GUID representation of a query parameter or default value if parameter is not GUID.
Public methodStatic memberGetHash(String)
Generates hash for given QueryString.
Public methodStatic memberGetHash(String, Boolean)
Generates hash for given QueryString.
Public methodStatic memberGetHash(String, Boolean, Boolean)
Generates hash for given QueryString.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodStatic memberGetInteger
Returns the integer representation of a query parameter or default value if parameter is not an integer number.
Public methodStatic memberGetSQLSafeTextObsolete.
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.
Public methodStatic memberGetString
Returns query string parameter or default value if query string is not defined.
Public methodStatic memberGetText
Returns HTML encoded query string parameter or default value if query string is not defined.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetValue
Gets the value from QueryString.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSetValue
Not implemented.
Public methodToString
Returns the string representation of the query string
(Overrides OnlineObject ToString .)
Public methodTryGetValue
Returns value of column.
Public methodStatic memberValidateHash
Validates given QueryString against hash.
Public methodStatic memberValidateHashString
Validates given value against hash.
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Back to Top
Properties

  NameDescription
Public propertyColumnNames
Column names.
Public propertyStatic memberEncodedQueryString
Returns html encoded query string.
Public propertyStatic memberHashEnabled
If true, the hash check is enabled.
Public propertyStatic memberInstance
Singleton Instance of the query helper.
Public propertyItem
Gets or sets the value of the column.
Protected propertyStatic memberQueryString
Query string
Back to Top
See Also