From NHibernate documentation:
A unique-key attribute can be used to group columns
in a single unit key constraint.
Namespace: Castle.ActiveRecord
Assembly: Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
public string UniqueKey{ get; set;} |
Field Value
unique key name
Remarks
Currently, the
specified value of the unique-key attribute is not
used to name the constraint, only to group the columns
in the mapping file.
See Also
BelongsToAttribute Class
Castle.ActiveRecord Namespace