C# Class BeiDream.Demo.Service.Resources.Dtos.ResourceDtoExtension

Mostrar archivo Open project: BeiMeng/BeiDream

Public Methods

Method Description
ToDto ( this entity, System.Guid roleId ) : ResourceDto

转换为资源数据传输对象

Method Details

ToDto() public static method

转换为资源数据传输对象
public static ToDto ( this entity, System.Guid roleId ) : ResourceDto
entity this 资源实体
roleId System.Guid 角色编号
return ResourceDto