Get the property number of the unique key property

Namespace:  NHibernate.Persister.Entity
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function GetPropertyIndex ( _
	propertyName As String _
) As Integer
C#
int GetPropertyIndex(
	string propertyName
)
Visual C++
int GetPropertyIndex(
	String^ propertyName
)
JavaScript
function getPropertyIndex(propertyName);

Parameters

propertyName
Type: System..::.String

See Also