Skip to main content

queryparam-class

Represents one parameter in parametrized query statement

public class Korzh.EasyQuery.QueryParam

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
QueryParam()voidInitializes a new instance of the Korzh.EasyQuery.QueryParam class.
QueryParam(QueryParam src)voidInitializes a new instance of the Korzh.EasyQuery.QueryParam class.
QueryParam(string id, DataType dataType, string value)voidInitializes a new instance of the Korzh.EasyQuery.QueryParam class.

Properties

NameTypeDescription
CaptionstringGets or sets the caption.
DataTypeDataTypeType of the parameter
EditorIdstringGets or sets the default value editor for this parameter
IdstringParameter ID
IsGeneratedboolGets a value indicating whether this parameter is generated.
ValuestringParameter value
ValueAsObjectobjectReturns the value of parameter as object (according to DataType).

Methods

NameTypeDescription
CopyFrom(QueryParam param)voidCopies all properties of query parameter to another parameter.