When implemented by a class, a representation of the value to be embedded in an XML element

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

Syntax

C#
public override sealed string ToLoggableString(
	Object value,
	ISessionFactoryImplementor factory
)
Visual Basic
Public Overrides NotOverridable Function ToLoggableString ( _
	value As Object, _
	factory As ISessionFactoryImplementor _
) As String
Visual C++
public:
virtual String^ ToLoggableString(
	Object^ value, 
	ISessionFactoryImplementor^ factory
) override sealed

Parameters

value
Type: System..::..Object
The object that contains the values.
factory
Type: NHibernate.Engine..::..ISessionFactoryImplementor

[Missing <param name="factory"/> documentation for "M:NHibernate.Type.NullableType.ToLoggableString(System.Object,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).

See Also