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

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

Syntax

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

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