Table of Contents

ISQLGenerator.GetUniqueKeyName Method

Returns the constraint name to use for the given unique key in the generated DDL.

Syntax

Unit: Aurelius.Sql.Interfaces

function ISQLGenerator.GetUniqueKeyName(UniqueKey: TUniqueKeyMetadata): string; virtual; abstract;

Parameters

<-> Parameter Type Description
UniqueKey TUniqueKeyMetadata The unique key metadata for which a constraint name is needed.

Returns

The constraint name string.

See also