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

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

Syntax

Visual Basic (Declaration)
Public Function GetReferencedProperty ( _
	propertyPath As String _
) As Property
C#
public Property GetReferencedProperty(
	string propertyPath
)
Visual C++
public:
Property^ GetReferencedProperty(
	String^ propertyPath
)
JavaScript
function getReferencedProperty(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