Make the assertion.. Assert.IsInstanceOf<Bar>(foo.Bar);
instead. The "no-proxy" setting does not imply that the loaded instance will not *be*a proxy. It implies that it will *not be loaded using* a proxy. That's a big difference, especially in polymorphic associations. That said, the behavior is still a bit strange, since the assertion fails if sub properties are accessed before it. Hmmm....investigating. /G -- You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en.
