Returns the number of columns spanned by this NullableType
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides NotOverridable Function GetColumnSpan ( _ session As IMapping _ ) As Integer |
C# |
---|
public override sealed int GetColumnSpan( IMapping session ) |
Visual C++ |
---|
public: virtual int GetColumnSpan( IMapping^ session ) override sealed |
JavaScript |
---|
function getColumnSpan(session); |
Parameters
- session
- Type: NHibernate.Engine..::.IMapping
Return Value
A NullableType always returns 1.Implements
IType..::.GetColumnSpan(IMapping)
Remarks
This has the hard coding of 1 in there because, by definition of this class,
a NullableType can only map to one column in a table.