DeptServiceSetDeptTypeNamesAsync Method

设置指定列表里各个部门实体的 TypeName 属性。

Definition

Namespace: QuickAdmin.Service.Admin
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
public virtual Task<IList<SysDept>> SetDeptTypeNamesAsync(
	IList<SysDept> list,
	CancellationToken cancellationToken = default
)

Parameters

list  IListSysDept
要设置的部门实体列表。
cancellationToken  CancellationToken  (Optional)
用于取消操作的令牌。

Return Value

TaskIListSysDept
list 自己。

Implements

IDeptServiceSetDeptTypeNamesAsync(IListSysDept, CancellationToken)

See Also