Hi guys,

This is the scenario : Upon invoking the ActiveRecordBase<t>.Save
(entity) I want to execute the ActiveRecordBase<t>.FindAll() method.
The new inserted record could not get the details on the child class
while the other record can. This was happened everytime I inserted a
new record. I'm just wondering what is wrong.

let say here is my parent and child class.

Parent
Id
ChildID

Child
Id
Details

here is my method

void Save() {
    ActiveRecordBase<t>.Save(entity);
    var result = BindResult();
}

void ICollection BindResult() {
  return ActiveRecordBase<t>.FindAll();
}


Need your advise. Thanks alot.

--

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