ITreeEntityTSelf Interface

表示包含 string 类型 Id 主键的树形结构的实体。

Definition

Namespace: QuickAdmin.EntityBase
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.0.122
C#
public interface ITreeEntity<TSelf> : ITreeEntityBase<TSelf>, 
	ITreeEntityBase, IEntity
Implements
IEntity, ITreeEntityBase, ITreeEntityBaseTSelf

Type Parameters

TSelf
实体类型自己。

Properties

Childs 获取/设置子节点列表。
(Inherited from ITreeEntityBaseTSelf)
Id 获取/设置 Id 主键。
Parent 获取/设置父节点。
(Inherited from ITreeEntityBaseTSelf)
ParentId 获取/设置父 Id。

Methods

GetBottomMostLastChild 获取最底层的最后一个子节点。
(Inherited from ITreeEntityBaseTSelf)
GetTopMostParent 获取最顶层父节点。
(Inherited from ITreeEntityBaseTSelf)
TrimStringValues 移除所有字符串属性(类型为 string 的属性)的值的前导和尾随空白字符。
(Inherited from IEntity)

See Also