C# 클래스 NHibernate.Impl.MessageHelper

Helper methods for rendering log messages and exception messages
파일 보기 프로젝트 열기: nhibernate/nhibernate-core

공개 메소드들

메소드 설명
InfoString ( ICollectionPersister persister, object id ) : String

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

InfoString ( IEntityPersister persister ) : String

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

InfoString ( ICollectionPersister persister, object id, ISessionFactoryImplementor factory ) : string

Generate an info message string relating to a particular managed collection.

InfoString ( IEntityPersister persister, object id ) : string

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

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

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

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

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

InfoString ( System clazz, object id ) : string

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

InfoString ( string entityName, object id ) : string

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

InfoString ( string entityName, string propertyName, object key ) : string

Generate an info message string relating to a given property value for an entity.

비공개 메소드들

메소드 설명
AddIdToCollectionInfoString ( ICollectionPersister persister, object id, ISessionFactoryImplementor factory, StringBuilder s ) : void
CollectionInfoString ( ICollectionPersister persister, IPersistentCollection collection, object collectionKey, ISessionImplementor session ) : String

Generate an info message string relating to a particular managed collection. Attempts to intelligently handle property-refs issues where the collection key is not the same as the owner key.

CollectionInfoString ( ICollectionPersister persister, object id ) : string

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

CollectionInfoString ( ICollectionPersister persister, object id, ISessionFactoryImplementor factory ) : string

Generate an info message string relating to a particular managed collection.

메소드 상세

InfoString() 공개 정적인 메소드

Generate small message that can be used in traces and exception messages.
public static InfoString ( ICollectionPersister persister, object id ) : String
persister ICollectionPersister The for the class in question
id object The id
리턴 String

InfoString() 공개 정적인 메소드

Generate small message that can be used in traces and exception messages.
public static InfoString ( IEntityPersister persister ) : String
persister IEntityPersister The for the class in question
리턴 String

InfoString() 공개 정적인 메소드

Generate an info message string relating to a particular managed collection.
public static InfoString ( ICollectionPersister persister, object id, ISessionFactoryImplementor factory ) : string
persister ICollectionPersister The persister for the collection
id object The id value of the owner
factory ISessionFactoryImplementor The session factory
리턴 string

InfoString() 공개 정적인 메소드

Generate small message that can be used in traces and exception messages.
public static InfoString ( IEntityPersister persister, object id ) : string
persister IEntityPersister The for the class in question
id object The id
리턴 string

InfoString() 공개 정적인 메소드

Generate small message that can be used in traces and exception messages.
public static InfoString ( IEntityPersister persister, object id, ISessionFactoryImplementor factory ) : string
persister IEntityPersister The for the class in question.
id object The identifier of the object.
factory ISessionFactoryImplementor The .
리턴 string

InfoString() 공개 정적인 메소드

Generate small message that can be used in traces and exception messages.
public static InfoString ( IEntityPersister persister, object id, IType identifierType, ISessionFactoryImplementor factory ) : string
persister IEntityPersister The for the class in question.
id object The identifier of the object.
identifierType IType The NHibernate type of the identifier.
factory ISessionFactoryImplementor The .
리턴 string

InfoString() 공개 정적인 메소드

Generate small message that can be used in traces and exception messages.
public static InfoString ( System clazz, object id ) : string
clazz System The to create the string from.
id object The identifier of the object.
리턴 string

InfoString() 공개 정적인 메소드

Generate an info message string relating to a particular entity, based on the given entityName and id.
public static InfoString ( string entityName, object id ) : string
entityName string The defined entity name.
id object The entity id value.
리턴 string

InfoString() 공개 정적인 메소드

Generate an info message string relating to a given property value for an entity.
public static InfoString ( string entityName, string propertyName, object key ) : string
entityName string The entity name
propertyName string The name of the property
key object The property value.
리턴 string