Hi Ayende,

currently im igloo for my small project. I want to know if the
Session.Flush() was already in the save method? Because i have a
problem the moment i save the record and invoke the findAll
the child details doesn't appeared.

let say i have here a parent class
class parent {
   id
   name
   hasmany(child)

}

class child {
   id
   name
   belongto(parentid)
}

void Save() {
     IRepository<Parent>.Save(parent);

}

void ICollection FindAll() {
  return IRepository<Parent>.FindAll();
}

let say here is my event

void click(){
  Save();
  var d =  FindAll();

}

from parent i want to get the child name. When I invoked the click
method and trace the result of findAll i'd noticed that the parent
did'nt got the child details only the id but the detail or name was
null. why is it?

can you help me with this? thanks.

--

You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" 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/rhino-tools-dev?hl=en.


Reply via email to