Table of Contents

TTMSFNCCloudGoogleFireBaseObject Class

Base class for a persistable object stored in a cloud realtime database. Descend from this class to define the data model that is serialized to and from the database; each instance is identified by its ID property.

API unit family: TMSFNCCloudGoogleFireBaseObject Inherits from: TPersistent

Syntax

TTMSFNCCloudGoogleFireBaseObject = class(TPersistent)

Remarks

Published properties of descendant classes are serialized automatically. The class type is stored alongside the data so the correct object type can be reconstructed when reading records back.

Properties

Name Description
ID Gets or sets the unique key that identifies this object in the database.

Used by