Namespaces

Types

Type MessageHelper

Namespace NHibernate.Impl

Methods

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string ToString()

Parameters
return string

Public static methods

string InfoString(ICollectionPersister persister, object id)

Generate small message that can be used in traces and exception messages.
Parameters
return string A descriptive String in the form [collectionrole#id]
ICollectionPersister persister The ICollectionPersister for the class in question
object id The id

string InfoString(Type clazz, object id)

Generate small message that can be used in traces and exception messages.
Parameters
return string A descriptive String in the format of [classname#id]
Type clazz The Type to create the string from.
object id The identifier of the object.

string InfoString(IEntityPersister persister)

Generate small message that can be used in traces and exception messages.
Parameters
return string A descriptive String in the form [FooBar]
IEntityPersister persister The IEntityPersister for the class in question

string InfoString(IEntityPersister persister, object id, IType identifierType, ISessionFactoryImplementor factory)

Generate small message that can be used in traces and exception messages.
Parameters
return string A descriptive String in the format of [classname#id]
IEntityPersister persister The IEntityPersister for the class in question.
object id The identifier of the object.
IType identifierType The NHibernate type of the identifier.
ISessionFactoryImplementor factory The ISessionFactory .

string InfoString(IEntityPersister persister, object id, ISessionFactoryImplementor factory)

Generate small message that can be used in traces and exception messages.
Parameters
return string A descriptive String in the format of [classname#id]
IEntityPersister persister The IEntityPersister for the class in question.
object id The identifier of the object.
ISessionFactoryImplementor factory The ISessionFactory .

string InfoString(IEntityPersister persister, Object[] ids, ISessionFactoryImplementor factory)

Parameters
return string
IEntityPersister persister
Object[] ids
ISessionFactoryImplementor factory

string InfoString(IEntityPersister persister, object id)

Generate small message that can be used in traces and exception messages.
Parameters
return string A descriptive String in the form [FooBar#id]
IEntityPersister persister The IEntityPersister for the class in question
object id The id