Generate an info message string relating to a particular entity, based on the given entityName and id.

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

Syntax

C#
public static string InfoString(
	string entityName,
	Object id
)
Visual Basic
Public Shared Function InfoString ( _
	entityName As String, _
	id As Object _
) As String
Visual C++
public:
static String^ InfoString(
	String^ entityName, 
	Object^ id
)

Parameters

entityName
Type: System..::..String
The defined entity name.
id
Type: System..::..Object
The entity id value.

Return Value

An info string, in the form [FooBar#1].

See Also