Skip to main content

eqlistvalueeditorattribute-class

Assigns a "List" value editor for an entity member.

public class Korzh.EasyQuery.EqListValueEditorAttribute
: Attribute

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
EqListValueEditorAttribute(string listName = null)voidInitializes a new instance of the Korzh.EasyQuery.EqListValueEditorAttribute class.

Properties

NameTypeDescription
IdstringGets or sets the ID of list value editor It might be necessary to preserve the same value editor's ID between consequent HTTP requests.
ListNamestringGets the name of the list.
LookupDisplayOrderSortDirectionGets or sets the order of the lookup values.
LookupDisplayPropertystringGets or sets the name of the property in the lookup entity from which we get the textual values to show to the users.
SQLstringGets or sets the SQL

Methods

NameTypeDescription
ProcessEntityAttr(EntityAttr attr)voidAdds necessary value editor into the entity attribute passed in parameter.