All jokes aside, I'm trying to reveal a private member inside a component like this:
Component(x => x.Foo, part => { part.Map(x => x.Bar, "FooBar"); part.Map(Reveal.Member<Foo>("_baz"), "FooBaz") .Nullable(); }); The mapped component class looks like this: public class Foo { private short? _foo; public int Bar { get; set; } } I am receiving the error: FluentNHibernate.Cfg.FluentConfigurationException : An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail. ----> NHibernate.PropertyNotFoundException : Could not find a getter for property '_baz' in class 'MyNamespace.Foo' This is using Fluent NHibernate 1.1 which I understand handles revealing private fields. Thoughts? -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibern...@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.