IRtEntityToDtoMapper
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Interface for mapping RtEntity to RtEntityDto
public interface IRtEntityToDtoMapper
Methods
ConvertToDto(String, RtEntity, AttributeValueResolveFlags)
Converts a RtEntity to RtEntityDto
RtEntityDto ConvertToDto(string tenantId, RtEntity rtEntity, AttributeValueResolveFlags attributeValueResolveFlags)
Parameters
tenantId String
Tenant Id
rtEntity RtEntity
The RtEntity to convert
attributeValueResolveFlags AttributeValueResolveFlags
Defines how attribute values are resolved
Returns
Exceptions
MapperException
Thrown if the CkTypeId is undefined