This query hits db for the OPERATOR relation and it is not lazy, it seems.
Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Jul 8, 2009 at 6:25 PM, Cesar Sanz <the.email.tr...@gmail.com>wrote: > [ActiveRecord("clients", Schema = "dbo")] > > public class Client > > { ... > > [HasMany(typeof (Product), Cascade = ManyRelationCascadeEnum.All, Lazy > = true)] > > public virtual IList<Product> Products > > { > > get { return _products; } > > set { _products = value; } > > } > > > > [BelongsTo("Operator")] > > public virtual Operator Operator > > { > > get { return _operator; } > > set { _operator = value; } > > } > > } > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to castle-project-users@googlegroups.com To unsubscribe from this group, send email to castle-project-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---