Table of Contents

TAutomappingEngine.GetTableName Method

Returns the database table name for the given class.

Remarks

Override this method to apply a custom table naming convention.

Syntax

Unit: Aurelius.Mapping.Automapping

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

Parameters

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

Returns

The table name, by default the class name without the leading T converted to UPPER_SNAKE_CASE.

See also