When implemented by a class, returns the SqlTypes for the columns mapped by this IType.

Namespace:  NHibernate.Type
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Overrides NotOverridable Function SqlTypes ( _
	mapping As IMapping _
) As SqlType()
C#
public override sealed SqlType[] SqlTypes(
	IMapping mapping
)
Visual C++
public:
virtual array<SqlType^>^ SqlTypes(
	IMapping^ mapping
) override sealed
JavaScript
function sqlTypes(mapping);

Parameters

mapping
Type: NHibernate.Engine..::.IMapping
The IMapping that uses this IType.

Return Value

An array of SqlTypes.

Implements

IType..::.SqlTypes(IMapping)

Remarks

This implemenation forwards the call to SqlType.

It has been "sealed" because the Types inheriting from NullableType do not need to and should not override this method because they map to a single column. All of their implementation should be in SqlType.

See Also