yes, i marked all of my domain class with LazyLoad() in their fluent mappint.
On Thursday, September 27, 2012 1:50:46 PM UTC+3:30, Ricardo Peres wrote: > > Is the Order class marked as lazy? > > On Thursday, September 27, 2012 9:24:08 AM UTC+1, Arman wrote: >> >> Hello, >> >> I am using Fluent Nhibernate 1.3 with Nhibernate 3.3.1 with SQlite >> database. >> >> Today i found out that no proxy is using at all when a lazy-collection >> loaded. >> >> I have a User object that it have an IList of Order object. User has a >> Orders collection in it that is lazy. (be default all the one-to-many is >> lazy) >> >> when i access User.Orders , nhibernate load all of its orders correctly >> and completely, but none of loaded objects is proxified. i mean loaded >> objects is pure objects not a proxy of that object. >> >> this result in full update query when i call Session.SaveOrUpdate later, >> and full row update is not necessary at all and it takes long time too. >> >> i should mention that i am using SQLiteConfiguration.Standard, every >> one-to-many and many-to-one relations is lazyload. >> >> What's wrong ?! >> > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/ZWe75yqPNp8J. 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.
