Namespace: NHibernate.Type
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
[SerializableAttribute] public class SerializableType : MutableType |
Visual Basic |
---|
<SerializableAttribute> _ Public Class SerializableType _ Inherits MutableType |
Visual C++ |
---|
[SerializableAttribute] public ref class SerializableType : public MutableType |
Remarks
For performance reasons, the SerializableType should be used when you know that Bytes are not going to be greater than 8,000. Implementing a custom type is recommended for larger types.
The base class is MutableType because the data is stored in a byte[]. The System.Array does not have a nice "equals" method so we must do a custom implementation.
Inheritance Hierarchy
System..::..Object
NHibernate.Type..::..AbstractType
NHibernate.Type..::..NullableType
NHibernate.Type..::..MutableType
NHibernate.Type..::..SerializableType
NHibernate.Type..::..AbstractType
NHibernate.Type..::..NullableType
NHibernate.Type..::..MutableType
NHibernate.Type..::..SerializableType