C# Class DRMFSS.BLL.Services.UserRoleService

Inheritance: IUserRoleService
显示文件 Open project: edgecomputing/cats-hub-module

Public Methods

Method Description
AddUserRole ( UserRole entity ) : bool
DeleteById ( int id ) : bool
DeleteUserRole ( UserRole entity ) : bool
Dispose ( ) : void
EditUserRole ( UserRole entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : UserRole
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : List
GetAllUserRole ( ) : List
UserRoleService ( ) : System

Method Details

AddUserRole() public method

public AddUserRole ( UserRole entity ) : bool
entity UserRole
return bool

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteUserRole() public method

public DeleteUserRole ( UserRole entity ) : bool
entity UserRole
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditUserRole() public method

public EditUserRole ( UserRole entity ) : bool
entity UserRole
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int id ) : UserRole
id int
return UserRole

Get() public method

public Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : List
filter bool>.Expression
orderBy Func
includeProperties string
return List

GetAllUserRole() public method

public GetAllUserRole ( ) : List
return List

UserRoleService() public method

public UserRoleService ( ) : System
return System