I'm using the exact same GetTypeUnproxied method as you posted in my
current project and it works without problems in NHibernate 3.2.0.GA
(retested it just now).
But why does it write Castle.DogProxy? Are you still using Castle
with NHibernate 3? Using the internal proxy factory it would write
I didn't know we had a choice between using Castle or not. I have not
done anything to configure Castle that I know of (the Castle namespace
is not used by any of my classes), although the Castle dll is
referenced. I'll try removing it and see what happens.
I think I've worked out the problem I