IDeptRelatedPagingService Interface

与部门关联的实体的分页查询服务的基接口。

Definition

Namespace: QuickAdmin.Service
Assembly: QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 1.2.4
C#
[NotUseDI]
public interface IDeptRelatedPagingService

Remarks

不要用此接口去直接实现服务类,而是去继承 DeptRelatedCRUDService<TEntity, TKey, TInput, TFilter>SortableDeptRelatedCRUDService<TEntity, TKey, TInput, TFilter> 泛型基类。

Properties

AutoSetDeptPath 获取一个布尔值,指示在查询时是否自动填充各个实体的部门路径属性。

Methods

GetDefaultDeptId 获取默认部门 Id,该部门的数据是当前登录用户默认可见的数据。
GetDefaultDeptIdAsync 获取默认部门 Id,该部门的数据是当前登录用户默认可见的数据。
GetRootDeptId 按指定的权限,获取数据对当前登录用户可见的最高层级部门的 Id。
GetRootDeptIdAsync 按指定的权限,获取数据对当前登录用户可见的最高层级部门的 Id。

See Also