Table of Contents

EntityAttribute Class

Indicates that the class is an entity class that can be persisted to the database.

Remarks

Every class that you want to be persisted in the database must have this attribute. It is also used by Aurelius for automatic class registration. When automatic registration is active in global configuration, every class marked with the Entity attribute will be automatically registered as an entity class.

Syntax

Unit: Aurelius.Mapping.Attributes

EntityAttribute = class(TCustomAttribute);