Generate small message that can be used in traces and exception messages.

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

Syntax

Visual Basic (Declaration)
Public Shared Function InfoString ( _
	persister As ICollectionPersister, _
	id As Object _
) As String
C#
public static string InfoString(
	ICollectionPersister persister,
	Object id
)
Visual C++
public:
static String^ InfoString(
	ICollectionPersister^ persister, 
	Object^ id
)
JavaScript
NHibernate.Impl.MessageHelper.infoString = function(persister, id);

Parameters

persister
Type: NHibernate.Persister.Collection..::.ICollectionPersister
The ICollectionPersister for the class in question
id
Type: System..::.Object
The id

Return Value

A descriptive String in the form [collectionrole#id]

See Also