i've needed the same thing (knowing if a collection was loaded or not) you can take a look at the public properties of the AbstractPersistentCollection (if i remember correctly) there is a property that tells you exactly that (weather the collection was loaded).
On Mon, Mar 22, 2010 at 6:11 AM, Fabio Maulo <[email protected]> wrote: > You can learn that a collection is not a dynamic-proxy and can't be > un-proxy, for example. > > 2010/3/21 TD <[email protected]> > >> Hi Fabio! >> >> I get this: >> >> NHibernate.Collection.Generic.PersistentGenericBag`1[[Model.Entities.Order, >> Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]] >> What can I learn from it? >> 10x >> >> -- >> 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]<nhusers%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/nhusers?hl=en. >> >> > > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- 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.
