Return a table name for a collection

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

Syntax

Visual Basic (Declaration)
Function PropertyToTableName ( _
	className As String, _
	propertyName As String _
) As String
C#
string PropertyToTableName(
	string className,
	string propertyName
)
Visual C++
String^ PropertyToTableName(
	String^ className, 
	String^ propertyName
)
JavaScript
function propertyToTableName(className, propertyName);

Parameters

className
Type: System..::.String
the fully-qualified name of the owning entity class
propertyName
Type: System..::.String
a property path

Return Value

a table name

See Also