Oh, no! my English is too pure for this On Jul 25, 7:26 pm, Fabio Maulo <[email protected]> wrote: > NHibernateUtil.InitializeGraph(object entity) > The JIRA is here ->http://216.121.112.228/secure/Dashboard.jspa > <http://216.121.112.228/secure/Dashboard.jspa>In the description try to > explain the use case... please don't be so short. > > > > On Sun, Jul 25, 2010 at 9:10 AM, alexey_baranov <[email protected]> wrote: > > Yes I will use reflection in the future. Hope NHibernate will > > implement this method like NHibernateUtil.Initialize > > > Thanks! > > > On Jul 25, 3:05 am, Diego Mijelshon <[email protected]> wrote: > > > Use Reflection. But, if this is what you are going to do for every case, > > > there is a problem with your presentation architecture. > > > > Diego > > > > On Sat, Jul 24, 2010 at 14:57, alexey_baranov <[email protected]> wrote: > > > > Manual loading are bad too because I do not know what type of object > > > > bring to the view at compile time. > > > > > On Jul 24, 11:53 pm, Diego Mijelshon <[email protected]> wrote: > > > > > If you don't want lazy loading to happen, use a Presentation Model > > and > > > > copy > > > > > everything there instead. > > > > > > In any case, NHibernateUtil.Initialize loads the specified proxy or > > > > > collection, you could just use it on all the properties that need it. > > > > > > Diego > > > > > > On Sat, Jul 24, 2010 at 13:05, alexey_baranov <[email protected]> > > wrote: > > > > > > Hi! > > > > > > > I need to load all association and collections of persisted object > > > > > > preparing them for rendering in View. > > > > > > I do not want to do this using mappings, because loading > > collections > > > > > > and associations doesn't need in other times. > > > > > > Manual loading are bad too because I do not know what type of > > object > > > > > > bring to the view at compile time. Only at runtime. > > > > > > > I'm looking something like > > > > > > > sess.Refresh(obj); > > > > > > sess.LoadAssociationAndCollection(obj); //NEED THIS FUNCTION > > > > > > view.model= obj; > > > > > > > Thanks! > > > > > > > -- > > > > > > 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]> > > <nhusers%[email protected]<nhusers%[email protected]> > > > > > <nhusers%[email protected]<nhusers%[email protected]> > > <nhusers%[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]<nhusers%[email protected]> > > <nhusers%[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]<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]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
