UniqueAttribute Class
Creates a unique index on a table column that is mapped to an entity class‘s field/property.
Declaration
UniqueAttribute = class(
TCustomAttribute
)
Remarks
You can apply this attribute exclusively or combine it with the IndexedAttribute to make the resulting column index unique. Refer to the IndexedAttribute topic for an example on how to use the UniqueAttribute.
Inheritance
TObject
TCustomAttribute
UniqueAttribute
See Also