C# Class BeiDream.Demo.Service.Roles.Dtos.RoleDtoExtension

显示文件 Open project: BeiMeng/BeiDream

Public Methods

Method Description
ToDto ( this entity, System.Guid userId ) : RoleDto

转换为角色数据传输对象

Method Details

ToDto() public static method

转换为角色数据传输对象
public static ToDto ( this entity, System.Guid userId ) : RoleDto
entity this 角色实体
userId System.Guid 用户编号
return RoleDto