Sorry if not clear..

** Client HasMany Products **

When I do Client.FindAll()  foreach client loaded all the products that belongs 
to the client get loaded too,

My relationship is decored witht [Lazy = true] attribute, because I want it to 
be like this. Can I use the attribute and be able to 
fetch just clients.. without products..??

----- Original Message ----- 
  From: Tuna Toksoz 
  To: [email protected] 
  Sent: Tuesday, July 07, 2009 4:51 PM
  Subject: Re: AR + Selecting just parent



  The point is, I want to retrieve just Clients, not their related
  products.. but I still want to
  make this relationship not to be lazy loaded.

  What?


  Tuna Toksöz
  Eternal sunshine of the open source mind.

  http://devlicio.us/blogs/tuna_toksoz
  http://tunatoksoz.com
  http://twitter.com/tehlike





  On Tue, Jul 7, 2009 at 3:45 PM, [email protected] 
<[email protected]> wrote:


    The point is, I want to retrieve just Clients, not their related
    products.. but I still want to
    make this relationship not to be lazy loaded.


  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to