C# Class Fonour.Application.DepartmentApp.DepartmentAppService

Inheritance: IDepartmentAppService
Mostra file Open project: Fonour/Fonour

Public Methods

Method Description
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

新增或修改

Method Details

Delete() public method

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

DeleteBatch() public method

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

DepartmentAppService() public method

public DepartmentAppService ( IDepartmentRepository repository ) : System
repository IDepartmentRepository
return System

Get() public method

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

GetAllList() public method

获取列表
public GetAllList ( ) : List
return List

GetChildrenByParent() public method

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

InsertOrUpdate() public method

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