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