Mapping fails if a custom-typed property is in a subclass of another
mapped type.

For example, introducing this class:

    public class SubClassWithUserType : ClassWithUserType
    {
        public Custom CustomTwo { get; set; }
    }

into TestFixtures.cs causes a number of the existing tests to fail.


Index: trunk/src/FluentNHibernate.Testing/AutoMap/TestFixtures.cs
===================================================================
--- trunk/src/FluentNHibernate.Testing/AutoMap/TestFixtures.cs
(revision 432)
+++ trunk/src/FluentNHibernate.Testing/AutoMap/TestFixtures.cs
(working copy)
@@ -109,6 +109,11 @@
         public Custom Custom { get; set; }
     }

+    public class SubClassWithUserType : ClassWithUserType
+    {
+        public Custom CustomTwo { get; set; }
+    }
+
     public class ClassWithCompositeUserType
     {
         public int Id { get; set; }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to