Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​DataAnnotations.​DisplayColumnAttribute

Assembly: System.ComponentModel.Annotations

Inheritance: object → Attribute → DisplayColumnAttribute

Specifies the column that is displayed in the referred table as a foreign-key column.

Properties

public string
DisplayColumn
Gets the name of the column to use as the display field.
public string
SortColumn
Gets the name of the column to use for sorting.
public bool
SortDescending
Gets a value that indicates whether to sort in descending or ascending order.
public object
TypeId

Methods

public bool
Equals​(object obj)
Inherited from Attribute
public int
GetHashCode​()
Inherited from Attribute
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object