Making Parent available immediately upon Create or Fetch

Making Parent available immediately upon Create or Fetch

Old forum URL: forums.lhotka.net/forums/t/5882.aspx


JoshL posted on Tuesday, November 25, 2008

I've often run into situations where it would be very useful for my child business objects to have access to their parent during Fetch and/or Create. Right now it appears that the best way to make the parent available is to pass the parent object in as an argument to Child_Fetch or Child_Create. Would it be possible for DataPortal.FetchChild and DataPortal.CreateChild to accept a parent argument, and set the parent prior to calling the Child_xxx methods?

Copyright (c) Marimer LLC