EqListValueEditorAttribute class

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

public class Korzh.EasyQuery.EqListValueEditorAttribute
    : Attribute

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

Constructors

Name Type Description
EqListValueEditorAttribute(string listName = null) void Initializes a new instance of the Korzh.EasyQuery.EqListValueEditorAttribute class.

Properties

Name Type Description
Id string Gets or sets the ID of list value editor It might be necessary to preserve the same value editor's ID between consequent HTTP requests.
ListName string Gets the name of the list.
LookupDisplayOrder SortDirection Gets or sets the order of the lookup values.
LookupDisplayProperty string Gets or sets the name of the property in the lookup entity from which we get the textual values to show to the users.
SQL string Gets or sets the SQL

Methods

Name Type Description
ProcessEntityAttr(EntityAttr attr) void Adds necessary value editor into the entity attribute passed in parameter.