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

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

Syntax

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

Parameters

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

Return Value

The name of the Field in lowercase prefixed with an underscore.

Implements

IFieldNamingStrategy..::..GetFieldName(String)

See Also