Creates an BasicGetter to get the value from the Property.

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

Syntax

Visual Basic (Declaration)
Public Function GetGetter ( _
	type As Type, _
	propertyName As String _
) As IGetter
C#
public IGetter GetGetter(
	Type type,
	string propertyName
)
Visual C++
public:
virtual IGetter^ GetGetter(
	Type^ type, 
	String^ propertyName
) sealed
JavaScript
function getGetter(type, propertyName);

Parameters

type
Type: System..::.Type
The Type to find the Property in.
propertyName
Type: System..::.String
The name of the mapped Property to get.

Return Value

The BasicGetter to use to get the value of the Property from an instance of the Type.

Implements

IPropertyAccessor..::.GetGetter(Type, String)

Exceptions

ExceptionCondition
NHibernate..::.PropertyNotFoundException Thrown when a Property specified by the propertyName could not be found in the Type.

See Also