DeptServiceSetDeptPathAsync Method

设置指定实体的部门路径属性。

Definition

Namespace: QuickAdmin.Service.Admin
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
public virtual Task<IDeptRelatedEntityWithDeptPath> SetDeptPathAsync(
	IDeptRelatedEntityWithDeptPath deptPathEntity,
	CancellationToken cancellationToken = default
)

Parameters

deptPathEntity  IDeptRelatedEntityWithDeptPath
要设置的实体。
cancellationToken  CancellationToken  (Optional)
用于取消操作的令牌。

Return Value

TaskIDeptRelatedEntityWithDeptPath
deptPathEntity 自己。

Implements

IDeptServiceSetDeptPathAsync(IDeptRelatedEntityWithDeptPath, CancellationToken)

See Also