Returns the number of columns spanned by this NullableType
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override sealed int GetColumnSpan( IMapping session ) |
Visual Basic |
---|
Public Overrides NotOverridable Function GetColumnSpan ( _ session As IMapping _ ) As Integer |
Visual C++ |
---|
public: virtual int GetColumnSpan( IMapping^ session ) override sealed |
Parameters
- session
- Type: NHibernate.Engine..::..IMapping
[Missing <param name="session"/> documentation for "M:NHibernate.Type.NullableType.GetColumnSpan(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.