Gets the UniqueKey identified by the name.

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

Syntax

C#
public UniqueKey GetUniqueKey(
	string keyName
)
Visual Basic
Public Function GetUniqueKey ( _
	keyName As String _
) As UniqueKey
Visual C++
public:
UniqueKey^ GetUniqueKey(
	String^ keyName
)

Parameters

keyName
Type: System..::..String
The name of the UniqueKey to get.

Return Value

The UniqueKey identified by the name. If the UniqueKey identified by the name does not exist then it is created.

See Also