Generate small message that can be used in traces and exception messages.
Namespace:
NHibernate.ImplAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function InfoString ( _ persister As IEntityPersister, _ id As Object, _ factory As ISessionFactoryImplementor _ ) As String |
C# |
---|
public static string InfoString( IEntityPersister persister, Object id, ISessionFactoryImplementor factory ) |
Visual C++ |
---|
public: static String^ InfoString( IEntityPersister^ persister, Object^ id, ISessionFactoryImplementor^ factory ) |
JavaScript |
---|
NHibernate.Impl.MessageHelper.infoString = function(persister, id, factory); |
Parameters
- persister
- Type: NHibernate.Persister.Entity..::.IEntityPersister
The IEntityPersister for the class in question.
- id
- Type: System..::.Object
The identifier of the object.
- factory
- Type: NHibernate.Engine..::.ISessionFactoryImplementor
The ISessionFactory.