When implemented by a class, returns how many columns are used to persist this type.

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

Syntax

C#
public abstract int GetColumnSpan(
	IMapping mapping
)
Visual Basic
Public MustOverride Function GetColumnSpan ( _
	mapping As IMapping _
) As Integer
Visual C++
public:
virtual int GetColumnSpan(
	IMapping^ mapping
) abstract

Parameters

mapping
Type: NHibernate.Engine..::..IMapping
The IMapping that uses this IType.

Return Value

The number of columns this IType spans.

Implements

IType..::..GetColumnSpan(IMapping)

Exceptions

ExceptionCondition
NHibernate..::..MappingExceptionMappingException

See Also