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

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

Syntax

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

Parameters

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

Return Value

An array of SqlTypes.

Implements

IType..::..SqlTypes(IMapping)

Remarks

This implementation 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