Table of Contents

ModelAttribute Class

Specifies the model name that the entity belongs to, for use in multi-model designs.

Remarks

Use this attribute to assign an entity class to a named model, enabling multi-model applications where mapping is separated into distinct models. Multiple Model attributes may be applied to the same class, indicating membership in more than one model. If omitted, the class belongs to the default model.

Syntax

Unit: Aurelius.Mapping.Attributes

ModelAttribute = class(TCustomAttribute);

Constructors

Name Description
Create Creates a ModelAttribute with the specified model name.

Properties

Name Description
Name Gets the name of the model.