C# 클래스 Fonour.Application.DepartmentApp.DepartmentAppService

상속: IDepartmentAppService
파일 보기 프로젝트 열기: Fonour/Fonour

공개 메소드들

메소드 설명
Delete ( System.Guid id ) : void

删除

DeleteBatch ( List ids ) : void

根据Id集合批量删除

DepartmentAppService ( IDepartmentRepository repository ) : System
Get ( System.Guid id ) : DepartmentDto

根据Id获取实体

GetAllList ( ) : List

获取列表

GetChildrenByParent ( System.Guid parentId, int startPage, int pageSize, int &rowCount ) : List

根据父级Id获取子级列表

InsertOrUpdate ( DepartmentDto dto ) : bool

新增或修改

메소드 상세

Delete() 공개 메소드

删除
public Delete ( System.Guid id ) : void
id System.Guid Id
리턴 void

DeleteBatch() 공개 메소드

根据Id集合批量删除
public DeleteBatch ( List ids ) : void
ids List Id集合
리턴 void

DepartmentAppService() 공개 메소드

public DepartmentAppService ( IDepartmentRepository repository ) : System
repository IDepartmentRepository
리턴 System

Get() 공개 메소드

根据Id获取实体
public Get ( System.Guid id ) : DepartmentDto
id System.Guid Id
리턴 Fonour.Application.DepartmentApp.Dtos.DepartmentDto

GetAllList() 공개 메소드

获取列表
public GetAllList ( ) : List
리턴 List

GetChildrenByParent() 공개 메소드

根据父级Id获取子级列表
public GetChildrenByParent ( System.Guid parentId, int startPage, int pageSize, int &rowCount ) : List
parentId System.Guid 父级Id
startPage int 起始页
pageSize int 页面大小
rowCount int 数据总数
리턴 List

InsertOrUpdate() 공개 메소드

新增或修改
public InsertOrUpdate ( DepartmentDto dto ) : bool
dto Fonour.Application.DepartmentApp.Dtos.DepartmentDto 实体
리턴 bool