Given a property path, locate the appropriate referenceable property reference.

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

Syntax

C#
public Property GetReferencedProperty(
	string propertyPath
)
Visual Basic
Public Function GetReferencedProperty ( _
	propertyPath As String _
) As Property
Visual C++
public:
Property^ GetReferencedProperty(
	String^ propertyPath
)

Parameters

propertyPath
Type: System..::..String
The property path to resolve into a property reference.

Return Value

The property reference (never null).

Remarks

A referenceable property is a property which can be a target of a foreign-key mapping (an identifier or explicitly named in a property-ref).

Exceptions

ExceptionCondition
NHibernate..::..MappingExceptionIf the property could not be found.

See Also