Table of Contents

DBIndexAttribute.Create Constructor

Creates a DBIndexAttribute with the specified index name and columns.

Syntax

Unit: Aurelius.Mapping.Attributes

constructor DBIndexAttribute.Create(const AName: string; const AColumns: string);

Parameters

<-> Parameter Type Description
const AName string The name of the database index. Aurelius uses this name to decide whether the index needs to be created when updating the database schema.
const AColumns string A comma-separated list of database column names that compose the index.

See also