ITreeEntityWithNamePathTSelf Interface

表示包含 string 类型 Id 主键、名称 属性以及 名称路径 属性的树形结构的实体。

Definition

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

Type Parameters

TSelf
实体类型自己。

Properties

Childs 获取/设置子节点列表。
(Inherited from ITreeEntityBaseTSelf)
Id 获取/设置 Id 主键。
(Inherited from ITreeEntityTSelf)
Name 获取/设置名称。
(Inherited from IEntityWithName)
NamePath 获取/设置名称路径。此属性通常不映射到表字段。
(Inherited from ITreeEntityWithNamePath)
Parent 获取/设置父节点。
(Inherited from ITreeEntityBaseTSelf)
ParentId 获取/设置父 Id。
(Inherited from ITreeEntityTSelf)

Methods

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

See Also