Table of Contents

TAssociationProp Enumeration

Specifies optional behavioural flags for a mapped association.

Remarks

Combine one or more values in a TAssociationProps set and pass it to the AProperties parameter of AssociationAttribute or ManyValuedAssociationAttribute.

Syntax

Unit: Aurelius.Mapping.Metadata

Members

Name Value Description
Lazy 0 The associated object or collection is loaded from the database only on first access (lazy loading). When omitted, the association is loaded eagerly together with the owning entity.
Required 1 The foreign key column for this association is marked NOT NULL, meaning the association is mandatory and must always reference an existing entity.