Maps a TimeSpan Property to an Time column This is an extra way to map a Time. You already have TimeType but mapping against a DateTime.

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

Syntax

C#
[SerializableAttribute]
public class TimeAsTimeSpanType : PrimitiveType, 
	IVersionType, IType, ICacheAssembler
Visual Basic
<SerializableAttribute> _
Public Class TimeAsTimeSpanType _
	Inherits PrimitiveType _
	Implements IVersionType, IType, ICacheAssembler
Visual C++
[SerializableAttribute]
public ref class TimeAsTimeSpanType : public PrimitiveType, 
	IVersionType, IType, ICacheAssembler

Inheritance Hierarchy

See Also