Skip to main content

sqllistvalueeditor-class

Represents the list EasyData.ValueEditor.

public class Korzh.EasyQuery.SqlListValueEditor
: ListValueEditor

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
SqlListValueEditor(string id, string sql)voidInitializes a new instance of the Korzh.EasyQuery.SqlListValueEditor class.

Properties

NameTypeDescription
DefaultTextstringGets or sets the default text.
DefaultValuestringGets or sets the default value.
IdBasestringGets the base part of identifier.
ResultTypeDataTypeGets or sets the data type of edited values
SQLstringGets or sets the text of SQL SELECT statement.
SQLCountstringGets or sets the text of SQLCount SELECT statement.
TagstringGets the name of the value editor type.
XmlDefinitionstringGets the XML definition of value editor.

Methods

NameTypeDescription
ReadOnePropFromJsonAsync(JsonReader reader, string propName, CancellationToken ct)TaskReads one editor's property from JSON.
WritePropertiesToJsonAsync(JsonWriter writer, BitOptions rwOptions, CancellationToken ct)TaskWrites the content of the "SQL LIST" value editor to JSON (asynchronous way).

Static Properties

NameTypeDescription
STypeCaptionstringGets the full name of the value editor class type.