Hi
 
In a previous project i have used nhibernate 3.1 and used the no-proxy 
function to stop child references being loaded as a proxy type.
 
The proxy type is a pain when using inheritance and discriminator columns 
as you cant do a "is Class..." query on them.
 
In a new project i am doing, i have added inheritance and needed to do this 
query so added the no proxy mapping.
 (im using fluent nhibernate and use .LazyLoad(Laziness.NoProxy) method in 
my mapping).
 
As soon as this is added this method to the mapping i get a horrible 
"System.NotSupportedException: Specified method is not supported." 
exception.
 
Im using the Castle proxy provider if that makes a difference.  I tried 
removing this from my configuration but i still get the same error.
 
Has something changed in 3.2 that i need to configure differently?  

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/dYGyJcKMh4UJ.
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.

Reply via email to