SortableEntityWithUUIDKey Class

包含 UUID 类型 Id 主键(主键数据类型为 string,默认值为 32 位 GUID)的,可指定显示顺序的实体的基类。

Definition

Namespace: QuickAdmin.EntityBase
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public abstract class SortableEntityWithUUIDKey : SortableEntityWithIdKey<string>, 
	ISortableEntityWithUUIDKey, IEntityWithUUIDKey, IEntityWithIdKey<string>, IEntity, 
	ISortableEntity
Inheritance
object    SortableEntityWithIdKeystring    SortableEntityWithUUIDKey
Derived
Implements
IEntity, IEntityWithIdKeystring, IEntityWithUUIDKey, ISortableEntity, ISortableEntityWithUUIDKey

Remarks

Id 主键字段的长度被标记为 36,若要更改,请在继承类中重写 Id 属性进行指定。

Constructors

SortableEntityWithUUIDKeyInitializes a new instance of the SortableEntityWithUUIDKey class

Properties

Public Properties

DisplayOrder 获取/设置显示顺序。数值越小越靠前。
(Inherited from SortableEntityWithIdKeyTKey)
Id 获取/设置 Id 主键。
(Overrides SortableEntityWithIdKeyTKeyId)

Methods

Public Methods

ToString 返回对本实体的描述字符串。
(Inherited from SortableEntityWithIdKeyTKey)

See Also