ISortableEntityWithIdKeyTKey Interface

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

Definition

Namespace: QuickAdmin.EntityBase
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public interface ISortableEntityWithIdKey<TKey> : IEntityWithIdKey<TKey>, 
	IEntity, ISortableEntity
Implements
IEntity, IEntityWithIdKeyTKey, ISortableEntity

Type Parameters

TKey
Id 主键的数据类型。

Remarks

数据量大的实体不适合设计为 ISortableEntity 实体。

Properties

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

Methods

TrimStringValues 移除所有字符串属性(类型为 string 的属性)的值的前导和尾随空白字符。
(Inherited from IEntity)

See Also