Table of Contents

TransientAttribute Class

Marks a field in an automapped class as non-persistent so it is not saved to the database.

Remarks

When a class uses the Automapping attribute, all fields are persisted by default. Apply Transient to any field that should be excluded from persistence.

Syntax

Unit: Aurelius.Mapping.Attributes

TransientAttribute = class(TCustomAttribute);