When implemented by a class, returns how many columns are used to persist this type.
Namespace: NHibernate.TypeAssembly: 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
| Exception | Condition |
|---|---|
| NHibernate..::..MappingException | MappingException |