DeptServiceRawGetAsync Method

已重写,直接获取部门实体,并调用 SetParents() 设置了返回实体的各级父实体。

Definition

Namespace: QuickAdmin.Service.Admin
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
public override Task<SysDept> RawGetAsync(
	long id,
	CancellationToken cancellationToken = default
)

Parameters

id  long
部门 Id。
cancellationToken  CancellationToken  (Optional)
用于取消操作的令牌。

Return Value

TaskSysDept
部门实体。

Implements

ICRUDServiceTEntity, TKey, TInput, TFilterRawGetAsync(TKey, CancellationToken)
ICRUDServiceTEntity, TKey, TInput, TFilterRawGetAsync(TKey, CancellationToken)

See Also