Permalink
Browse files

Marking some UserTypes serializable.

SVN: trunk@4120
  • Loading branch information...
1 parent aa59065 commit 4a6eff6b827667f5b59622da58e5e7cbb5f04823 Tuna Toksoz committed Mar 9, 2009
@@ -7,6 +7,7 @@
namespace NHibernate.DomainModel
{
+ [Serializable]
public class DoubleStringType : ICompositeUserType
{
public System.Type ReturnedClass
@@ -7,6 +7,7 @@
namespace NHibernate.DomainModel
{
+ [Serializable]
public class MultiplicityType : ICompositeUserType
{
private static readonly string[] PROP_NAMES = new String[]
@@ -10,6 +10,7 @@ namespace NHibernate.DomainModel.NHSpecific
/// <summary>
/// Converts a value of 0 to a DbNull
/// </summary>
+ [Serializable]
public class NullInt32UserType : IUserType
{
private static NullableType _int32Type = NHibernateUtil.Int32;
@@ -9,6 +9,7 @@ namespace NHibernate.DomainModel.NHSpecific
/// <summary>
/// A NHibernate <see cref="IType"/> for a <see cref="NullableInt32"/>.
/// </summary>
+ [Serializable]
public class NullableInt32Type : NullableTypesType
{
public NullableInt32Type() : base(SqlTypeFactory.Int32)
@@ -10,6 +10,7 @@ namespace NHibernate.DomainModel.NHSpecific
/// Abstract type used for implementing NHibernate <see cref="IType"/>s for
/// the Nullables library.
/// </summary>
+ [Serializable]
public abstract class NullableTypesType : ImmutableType
{
public NullableTypesType(SqlType type) : base(type)
@@ -6,6 +6,7 @@ namespace NHibernate.DomainModel.NHSpecific
/// <summary>
/// Summary description for ParentComparer.
/// </summary>
+ [Serializable]
public class ParentComparer : IComparer
{
public ParentComparer()

0 comments on commit 4a6eff6

Please sign in to comment.