Orchard/lib/fluentnhibernate/fluent-nhibernate_GenericEnumMapper.patch
Andre Rodrigues a6bee4cdab Addinf fluentnhibernate patches.
--HG--
branch : 1.x
2011-05-18 14:47:33 -07:00

22 lines
755 B
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# HG changeset patch
# User Andre Rodrigues <andrerod@microsoft.com>
# Date 1305755041 25200
# Node ID 48d2b0560a4196a96e906a218208b69ff9db25bd
# Parent 9cd8564ec960ed8b634f87249da62a69b506b60f
Making GenericEnumMapper Serializable.
diff -r 9cd8564ec960 -r 48d2b0560a41 src/FluentNHibernate/Mapping/GenericEnumMapper.cs
--- a/src/FluentNHibernate/Mapping/GenericEnumMapper.cs Wed May 18 14:43:50 2011 -0700
+++ b/src/FluentNHibernate/Mapping/GenericEnumMapper.cs Wed May 18 14:44:01 2011 -0700
@@ -1,7 +1,9 @@
-using NHibernate.Type;
+using System;
+using NHibernate.Type;
namespace FluentNHibernate.Mapping
{
+ [Serializable]
public class GenericEnumMapper<TEnum> : EnumStringType
{
public GenericEnumMapper()