Enums members in entities are skipped when automaping is used. I found this test in AutoMap tests:
[Test] public void ShouldAutoMapEnums() { Model<ExampleClass>(model => model .ForTypesThatDeriveFrom<ExampleClass>(mapping => mapping.Map(x => x.Enum).SetAttribute("type", "Int32")) .Where(type => type == typeof (ExampleClass))); Test<ExampleClass>(mapping => mapping.Element("//proper...@name='Enum']").Exists()); } I wonder if this is the expected functionality, since in this test enum is explicitly mapped (and not automaticly). Is this a bug or expected behaviour? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---