Skip to main content

IRtEntityToDtoConverter

Namespace: Meshmakers.Octo.Runtime.Contracts.DataTransferObjects

Interface for converting RtEntity to RtEntityDto

public interface IRtEntityToDtoConverter

Methods

Convert(String, RtEntity)

Converts a RtEntity to RtEntityDto

RtEntityDto Convert(string tenantId, RtEntity rtEntity)

Parameters

tenantId String
Tenant Id

rtEntity RtEntity
The RtEntity to convert

Returns

RtEntityDto

Exceptions

PersistenceException
Thrown if the CkTypeId is undefined