In your ClassMap, call LazyLoaded(). That should inform NHibernate that you don't want it to generate proxies for that particular entity.
On Tue, Mar 24, 2009 at 8:38 PM, [email protected] <[email protected]>wrote: > > I'm new to Fluent NHibernate for I appologive if this is a newbe > question with a simple answer. > Is there a way using Fluent Nhibernate to map your classes such that > you do not have to virtualize each method/property? > > I don't mind having lazy loading for my collections, but prefer not to > have NHibernate generate proxies for all my classes. > > Thanks > > Greg > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
