SortableEntityWithIdKeyTKey Class

包含指定类型 Id 主键的,可指定显示顺序的实体的基类。

Definition

Namespace: QuickAdmin.EntityBase
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public abstract class SortableEntityWithIdKey<TKey> : ISortableEntityWithIdKey<TKey>, 
	IEntityWithIdKey<TKey>, IEntity, ISortableEntity
Inheritance
object    SortableEntityWithIdKeyTKey
Derived
Implements
IEntity, IEntityWithIdKeyTKey, ISortableEntity, ISortableEntityWithIdKeyTKey

Type Parameters

TKey
Id 主键的数据类型。

Constructors

SortableEntityWithIdKeyTKeyInitializes a new instance of the SortableEntityWithIdKeyTKey class

Properties

Public Properties

DisplayOrder 获取/设置显示顺序。数值越小越靠前。
Id 获取/设置 Id 主键。

Methods

Public Methods

ToString 返回对本实体的描述字符串。
(Overrides objectToString)

See Also