Return a table name for a collection

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

Syntax

C#
string PropertyToTableName(
	string className,
	string propertyName
)
Visual Basic
Function PropertyToTableName ( _
	className As String, _
	propertyName As String _
) As String
Visual C++
String^ PropertyToTableName(
	String^ className, 
	String^ 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