Classless DTO - STARIONGROUP/COMET-SDK-Community-Edition GitHub Wiki

Introduction

The Classless DTO is used to represent partial COMET Data Model DTO objects. It is a Dictionary<string, object>, where the key represents the name of a property of a DTO and the value is the value of that named property.

Use

The Classless DTO is used to construct a POST message to send to the COMET® Web Services to perform updates. ECSS-E-TM-10-25 Annex C allows partial updates to objects, it is possible to change only one property of an object in a data-source by including only that property in the update message.

The Classless DTO relies on the MetaInfo classes for optimized reflection to determine how to convert a DTO into a Classless DTO.