Table of Contents

ITMSMCPPersistenceIO.NeedsObjectReference Method

Determines whether objects of the given class should be stored as reference tokens rather than inline JSON during serialization.

API unit family: TMS.MCP.Persistence Declaring type: ITMSMCPPersistenceIO

Syntax

function NeedsObjectReference(const AClass: TClass): Boolean;

Parameters

Name Description
AClass Class to test.

Returns

True to serialize instances of this class as reference tokens; False to serialize them inline.