Hey Fabio, Many thanks for that- this is exactly what I was looking for!! However, I seem to get always false for that IsLazy prop, regardless of what the lazy attribute in my hbm says... I've tried calling BuildSessionFactory() before, but I still get falses for all properties... Any ideas?
On Feb 18, 4:01 pm, Fabio Maulo <[email protected]> wrote: > This is an example of "mapping source" meaning... > > > foreach(var persistentClass in cfg.ClassMappings) > > { > > foreach(var property in persistentClass.PropertyClosureIterator) > > { > > bool isLazy = property.IsLazy; > > // your code > > } > > } > > The matter here is that some other "mapping source" had generate all > mappings; with that two foreach you can even change the mapping (before > BuildSessionFactory). > > -- > Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
