Table of Contents

TAutomappingEngine.GetSequenceName Method

Returns the database sequence name used for identifier generation for the given class.

Remarks

Override this method to apply a custom sequence naming convention.

Syntax

Unit: Aurelius.Mapping.Automapping

function TAutomappingEngine.GetSequenceName(Clazz: TClass): string; virtual;

Parameters

<-> Parameter Type Description
Clazz TClass The entity class to derive a sequence name for.

Returns

The sequence name, by default SEQ_ followed by the automapped table name (e.g. SEQ_CUSTOMER).

See also