Skip to content

QueryParam class

Represents one parameter in parametrized query statement

public class Korzh.EasyQuery.QueryParam
TypeNameDescription
StringCaptionGets or sets the caption.
DataTypeDataTypeType of the parameter
StringEditorIdGets or sets the default value editor for this parameter
StringIdParameter ID
BooleanIsGeneratedGets a value indicating whether this parameter is generated.
StringValueParameter value
ObjectValueAsObjectReturns the value of parameter as object (according to DataType).
TypeNameDescription
voidCopyFrom(QueryParam param)Copies all properties of query parameter to another parameter.
voidCoreReadXmlAttribute(String attrName, String attrValue)Read one attribute of XML element.
voidLoadFromJsonDict(JsonDict paramDict)Loads parameter’s properties from some System.Collections.IDictionary object. It’s used for deserialization from JSON
voidLoadFromXmlReader(XmlReader reader)Loads parameter’s properties from XML.
JsonDictSaveToJsonDict(DataModel model)Saves query parameter’s properties to Dictionary object (used JSON serialization).
voidSaveToXmlWriter(XmlWriter writer)Saves the parameter to XML.