Gets or sets if the column contains unique values.

Namespace: NHibernate.Mapping
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public bool IsUnique { get; set; }
Visual Basic
Public Property IsUnique As Boolean
	Get
	Set
Visual C++
public:
property bool IsUnique {
	bool get ();
	void set (bool value);
}

Field Value

trueTruetruetrue (True in Visual Basic) if the column contains unique values.

See Also