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)
Function GetColumnSpan ( _
	mapping As IMapping _
) As Integer
C#
int GetColumnSpan(
	IMapping mapping
)
Visual C++
int GetColumnSpan(
	IMapping^ mapping
)
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.

Exceptions

ExceptionCondition
NHibernate..::.MappingExceptionMappingException

See Also