QuickAdmin.Net Reference
C#
Show/Hide TOC
Dept
Service
Is
Parent
Of Method
检测两个部门是否具有父子关系。
Definition
Namespace:
QuickAdmin.Service.Admin
Assembly:
QuickAdmin.Net (in QuickAdmin.Net.dll) Version: 2.0.10
C#
Copy
public
virtual
bool
IsParentOf
(
long
childId
,
long
parentId
)
Parameters
childId
long
子部门
Id
。
parentId
long
父部门
Id
。
Return Value
bool
当
parentId
是
childId
的父部门时,返回
true
,否则返回
false
。
Implements
IDeptService
IsParentOf(long, long)
See Also
Reference
DeptService Class
QuickAdmin.Service.Admin Namespace
In This Article
Definition
Parameters
Return Value
Implements
See Also