Table of Contents

IdUnsavedValueAttribute Class

Specifies the value that indicates an identifier has not yet been saved to the database.

Remarks

Aurelius uses the unsaved value to determine whether an entity is transient (not yet persisted) or detached. If the current identifier value equals the unsaved value, the entity is considered new and will be inserted rather than updated.

Syntax

Unit: Aurelius.Mapping.Attributes

IdUnsavedValueAttribute = class(TCustomAttribute);

Constructors

Name Description
Create Overloaded
Create(Integer)
Create(string)

Properties

Name Description
Value Gets the sentinel value that represents an unsaved entity identifier.