When implemented by a class, a representation of the value to be
embedded in an XML element
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides NotOverridable Function ToLoggableString ( _ value As Object, _ factory As ISessionFactoryImplementor _ ) As String |
C# |
---|
public override sealed string ToLoggableString( Object value, ISessionFactoryImplementor factory ) |
Visual C++ |
---|
public: virtual String^ ToLoggableString( Object^ value, ISessionFactoryImplementor^ factory ) override sealed |
JavaScript |
---|
function toLoggableString(value, factory); |
Parameters
- value
- Type: System..::.Object
The object that contains the values.
- factory
- Type: NHibernate.Engine..::.ISessionFactoryImplementor
Return Value
An Xml formatted string.Implements
IType..::.ToLoggableString(Object, ISessionFactoryImplementor)
Remarks
This implementation forwards the call to ToString(Object) if the parameter value is not null.
It has been "sealed" because the Types inheriting from NullableType do not need and should not override this method. All of their implementation should be in ToString(Object).