Converts the Property's name into a Field name by making the first character of the propertyName lowercase and prefixing it with an underscore.

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

Syntax

Visual Basic (Declaration)
Public Function GetFieldName ( _
	propertyName As String _
) As String
C#
public string GetFieldName(
	string propertyName
)
Visual C++
public:
virtual String^ GetFieldName(
	String^ propertyName
) sealed
JavaScript
function getFieldName(propertyName);

Parameters

propertyName
Type: System..::.String
The name of the mapped property.

Return Value

The name of the Field in CamelCase format prefixed with an underscore.

Implements

IFieldNamingStrategy..::.GetFieldName(String)

See Also