|
| Add |
添加实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AddAsync |
已重写,本服务不支持此方法,须改用 AddDeptAsync(long, SysDeptInput, CancellationToken)。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterAddAsync(TInput, CancellationToken)) |
| AddDeptAsync |
添加部门。
|
| BulkAdd |
批量添加实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| BulkAddAsync |
批量添加实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| BulkDelete |
批量删除实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| BulkDeleteAsync |
本类不支持,已重写,抛出 NotSupportedException。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterBulkDeleteAsync(TKey, CancellationToken)) |
| BulkUpdate |
批量更新实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| BulkUpdateAsync |
批量更新实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| CascadeDeleteAsync |
级联删除指定部门。
|
| ChildNodesToTextAsync |
用指定父部门的各级子部门的部门名称,生成一个文本,该文本中每行一个部门,并使用空格缩进表示父子关系。
|
| Delete(TKey) |
删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| Delete(TKey) |
删除实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| DeleteAsync(TKey, CancellationToken) |
删除实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| DeleteAsync(long, CancellationToken) |
删除指定实体。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterDeleteAsync(TKey, CancellationToken)) |
| DeleteByFilter |
删除指定过滤器代表的实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| DeleteByFilterAsync |
本类不支持,已重写,抛出 NotSupportedException。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterDeleteByFilterAsync(TFilter, CancellationToken)) |
| DeleteDeptAsync |
删除指定部门。
|
| Exists |
检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| ExistsAsync |
检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| Get |
获取指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetAsync |
获取指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetAvailableDeptTypesAsync |
获取部门类型列表。
|
| GetDeptPath |
获取指定部门的部门路径。
|
| GetDeptPathAsync |
获取指定部门的部门路径。
|
| GetDirectChildren |
获取指定父部门的直接子部门(不递归,不含父部门),且列表中的记录将按照 DisplayOrder 升序排序。
|
| GetDirectChildrenAsync |
获取指定父部门的直接子部门(不递归,不含父部门),且列表中的记录将按照 DisplayOrder 升序排序。
|
| GetDirectChildrenIds |
获取指定父部门的直接子部门的 Id(不递归,不含父部门 Id),且找到的 Id 将按照记录的 DisplayOrder 升序排序。
|
| GetDirectChildrenIdsAsync |
获取指定父部门的直接子部门的 Id(不递归,不含父部门 Id),且找到的 Id 将按照记录的 DisplayOrder 升序排序。
|
| GetDtoPagingOutputTDto |
执行查询,并返回指定页码的,把 TEntity 映射为 TDto 后的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetDtoPagingOutputAsyncTDto |
执行查询,并返回指定页码的,把 TEntity 映射为 TDto 后的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetPagingOutput |
执行查询,并返回指定页码的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetPagingOutputAsync |
执行查询,并返回指定页码的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetParent |
获取指定子部门的指定级别父部门。
|
| GetParentAsync |
获取指定子部门的指定级别父部门。
|
| GetSelfAndChildrenIdsRecursive |
获取指定父部门的所有子部门的 Id(递归查询,结果包含父部门 Id)。
|
| GetSelfAndChildrenIdsRecursiveAsync |
获取指定父部门的所有子部门的 Id(递归查询,结果包含父部门 Id)。
|
| GetSelfAndChildrenRecursive |
获取指定父部门的所有子部门(递归查询,结果包含父部门)。
|
| GetSelfAndChildrenRecursiveAsync |
获取指定父部门的所有子部门(递归查询,结果包含父记录)。
|
| GetSelfAndParents |
获取指定子部门及其所有父部门。
|
| GetSelfAndParentsAsync |
获取指定子部门及其所有父部门。
|
| GetSelfAndParentsIds |
获取指定子部门及其所有父部门 的 Id。
|
| GetSelfAndParentsIdsAsync |
获取指定子部门及其所有父部门 的 Id。
|
| GetSelfAndParentsList |
获取一个部门列表,包含指定子部门及其所有的父部门。
|
| GetSelfAndParentsListAsync |
获取一个部门列表,包含指定子部门及其所有的父部门。
|
| GetSelfOrParent |
获取指定子部门的指定级别父部门或其自己。
|
| GetSelfOrParentAsync |
获取指定子部门的指定级别父部门或其自己。
|
| GetSimulateTreeList |
获取指定父部门的所有子部门(递归查询,结果包含父部门),并加工为模拟树形列表,且列表中的记录将按照 DisplayOrder 升序排序。
|
| GetSimulateTreeListAsync |
获取指定父部门的所有子部门(递归查询,结果包含父部门),并加工为模拟树形列表,且列表中的记录将按照 DisplayOrder 升序排序。
|
| GetSpecifiedLevelDept |
在指定部门的树路径上,查找指定数据范围级别指向的部门。
|
| GetSpecifiedLevelDeptAsync |
在指定部门的树路径上,查找指定数据范围级别指向的部门。
|
| GetTopMostDept(long) |
从指定的 Id 数组对应的各个部门中,查找并返回层级最高的那个部门。
|
| GetTopMostDept(SysDept, long) |
从指定部门,以及传入的 Id 数组对应的各个部门中,查找并返回层级最高的那个部门。
|
| GetTopMostDeptAsync(long, CancellationToken) |
从指定的 Id 数组对应的各个部门中,查找并返回层级最高的那个部门。
|
| GetTopMostDeptAsync(SysDept, long, CancellationToken) |
从指定部门,以及传入的 Id 数组对应的各个部门中,查找并返回层级最高的那个部门。
|
| GetTreeList |
获取指定父部门的所有子部门(递归查询,结果包含父部门),并加工为树形列表,且列表中的记录将按照 DisplayOrder 升序排序。
|
| GetTreeListAsync |
获取指定父部门的所有子部门(递归查询,结果包含父部门),并加工为树形列表,且列表中的记录将按照 DisplayOrder 升序排序。
|
| GetUserSpecifiedLevelDept |
在指定用户所属部门的树路径上,查找指定数据范围级别指向的部门。
|
| GetUserSpecifiedLevelDeptAsync |
在指定用户所属部门的树路径上,查找指定数据范围级别指向的部门。
|
| IsParentOf |
检测两个部门是否具有父子关系。
|
| IsParentOfAsync |
检测两个部门是否具有父子关系。
|
| IsSameOrParentOf |
检测两个部门是否相同或者具有父子关系。
|
| IsSameOrParentOfAsync |
检测两个部门是否相同或者具有父子关系。
|
| IsUserBelongsToDept |
检查指定用户是否属于指定部门或其子部门。
|
| IsUserBelongsToDeptAsync(long, long, CancellationToken) |
检查指定用户是否属于指定部门或其子部门。
|
| IsUserBelongsToDeptAsync(long, long, CancellationToken) |
检查指定用户是否属于指定部门或其子部门。
|
| MapFromInput |
由实体输入构造实体对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| MapToInput |
由实体对象构造实体输入。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| MoveEntityAndResetDisplayOrder |
移动指定记录并重置所有受影响记录的显示顺序。
(Inherited from SortableCRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| MoveEntityAndResetDisplayOrderAsync |
移动指定记录并重置所有受影响记录的显示顺序。
(Overrides SortableCRUDServiceBaseTEntity, TKey, TInput, TFilterMoveEntityAndResetDisplayOrderAsync(TKey, MovingDirection, CancellationToken)) |
| QuickAddAsync |
快速添加部门。
|
| RawCount |
按指定过滤条件查询记录数。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawCountAsync |
按指定过滤条件查询记录数。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawExists |
直接检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawExistsAsync |
直接检测指定实体是否存在。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawGet |
直接获取指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawGetAsync |
已重写,直接获取部门实体,并调用 SetParents() 设置了返回实体的各级父实体。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterRawGetAsync(TKey, CancellationToken)) |
| RawGetSpecificDataTReturn |
查找指定实体,并返回指定类型的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawGetSpecificDataAsyncTReturn |
查找指定实体,并返回指定类型的数据。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawQuery |
直接按指定过滤器查询实体列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawQueryAsync(TFilter, CancellationToken) |
直接按指定过滤器查询实体列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawQueryAsync(TFilter, string, string, CancellationToken) |
直接按指定过滤器查询实体列表。可指定排序。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawQueryDtoTDto |
查询并返回将 TEntity 映射为 TDto 后的数据列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawQueryDtoAsyncTDto(ExpressionFuncTEntity, TDto, TFilter, FuncISelectTEntity, ISelectTEntity, CancellationToken) |
查询并返回将 TEntity 映射为 TDto 后的数据列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawQueryDtoAsyncTDto(ExpressionFuncTEntity, TDto, TFilter, string, string, FuncISelectTEntity, ISelectTEntity, CancellationToken) |
查询并返回将 TEntity 映射为 TDto 后的数据列表。可指定排序。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| SetDeptPath |
设置指定实体的部门路径属性。
|
| SetDeptPathAsync |
设置指定实体的部门路径属性。
|
| SetDeptPaths |
设置列表中各实体的部门路径属性。
|
| SetDeptPathsAsync |
设置列表中各实体的部门路径属性。
|
| SetDeptTypeNameAsync |
设置指定部门实体的 TypeName 属性。
|
| SetDeptTypeNamesAsync |
设置指定列表里各个部门实体的 TypeName 属性。
|
| SetParents |
递归设置指定子实体的各级父实体。
|
| SetParentsAsync |
递归设置指定子实体的各级父实体。
|
| Update |
更新实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| UpdateAsync |
更新部门,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterUpdateAsync(TKey, TInput, string, CancellationToken)) |
|
| AddOperationLog |
记录操作日志。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AddOperationLogAsync |
记录操作日志。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterAdd |
添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterAddAsync |
添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterBulkAdd |
批量添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterBulkAddAsync |
批量添加实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterBulkDelete |
批量删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterBulkDeleteAsync |
批量删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterCascadeDeleteAsync |
级联删除后执行的方法。
|
| AfterDelete |
删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| AfterDeleteAsync |
删除实体后要进行的操作。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| ApplyFilter |
应用指定过滤器。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| ApplyFilterAsync |
应用过滤器,已重写。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterApplyFilterAsync(ISelectTEntity, TFilter, CancellationToken)) |
| CanDelete |
用于在删除实体前检查该实体当前是否允许删除。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| CanDeleteAsync |
检查指定部门能否被删除。已重写,存在子部门或用户时禁止删除。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterCanDeleteAsync(TEntity, CancellationToken)) |
| CanModifyDeptDisplayOrder |
指示当前管理员能否调整指定部门的显示顺序。
仅供内部使用。
|
| CompareChanges |
比对实体更新前后的变更,并返回变更描述。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| FetchList |
由分页设置后的 ISelect 执行查询并获取实体列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| FetchListAsync |
由分页设置后的 ISelect 执行查询并获取实体列表。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetFilteredIDelete |
获取应用了指定过滤器的 IDelete 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetFilteredIDeleteAsync |
获取应用了指定过滤器的 IDelete 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetFilteredIUpdate |
获取应用了指定过滤器的 IUpdate 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetFilteredIUpdateAsync |
获取应用了指定过滤器的 IUpdate 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetISelect(TKey) |
获取选取了指定记录的 ISelect 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetISelect(PagingInputTFilter) |
获取应用了分页输入参数内的过滤器、排序等等以及其它选项的 ISelect 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetISelectAsync |
获取应用了分页输入参数内的过滤器、排序等等以及其它选项的 ISelect 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetIUpdate |
获取用来更新指定实体的 IUpdate 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetIUpdateAsync |
获取用来更新指定实体的 IUpdate 对象。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetNextDisplayOrder |
获取下一个 DisplayOrder 值。
(Inherited from SortableCRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetNextDisplayOrderAsync |
获取下一个 DisplayOrder 值。
(Overrides SortableCRUDServiceBaseTEntity, TKey, TInput, TFilterGetNextDisplayOrderAsync(TEntity, CancellationToken)) |
| GetReOrderingEntities |
用来在调整指定实体的显示顺序时,获取包含需要更新的记录的列表。
(Inherited from SortableCRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| GetReOrderingEntitiesAsync |
用来在调整指定实体的显示顺序时,获取包含需要更新的记录的列表。
(Overrides SortableCRUDServiceBaseTEntity, TKey, TInput, TFilterGetReOrderingEntitiesAsync(TEntity, CancellationToken)) |
| NameAlreadyExistsAsync |
检查指定部门名称是否已被占用。
|
| OnBulkDelete |
执行 SQL 语句,批量删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| OnBulkDeleteAsync |
执行 SQL 语句,批量删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| OnDelete |
执行 SQL 语句,删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| OnDeleteAsync |
执行 SQL 语句,删除指定实体。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| OnMovingEntityAndResettingDisplayOrder |
用来在调整指定实体的显示顺序时,重置各个元素的显示顺序属性。
(Inherited from SortableCRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| PrepareNewEntity |
重写后的预处理新实体方法。
(Inherited from SortableCRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| PrepareNewEntityAsync |
重写后的预处理新实体方法。
(Inherited from SortableCRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawExecuteInsert |
执行插入实体 Insert 语句的方法。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawExecuteInsertAsync |
执行插入实体 Insert 语句的方法。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawExecuteUpdate |
执行更新实体 Update 语句的方法。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| RawExecuteUpdateAsync |
执行更新操作,已重写,处理了名称路径的更新。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterRawExecuteUpdateAsync(TEntity, string, CancellationToken)) |
| SetOrderBy |
设置排序。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| ValidateInput |
用于在添加或更新实体时,校验输入是否有效。
(Inherited from CRUDServiceBaseTEntity, TKey, TInput, TFilter) |
| ValidateInputAsync |
检查输入是否有效,已重写,在基类方法基础上,检查了名称是否有效以及是否重复。
(Overrides CRUDServiceBaseTEntity, TKey, TInput, TFilterValidateInputAsync(TEntity, bool, CancellationToken)) |