Order of method calls in Entity Object

Thursday, April 10, 2008

Though I found a lot of reference about Entity Object methods and thier usage, I never found a document describing order of method calls in Entity Object. Here I am trying to put the method call order in place.

Entity Create flow.

Loop for each created entity Object
{
validateEntity();
prepareForDML();
doDML();
}
Loop for each created entity Object
{
beforeCommit();
}

  © Blogger templates Newspaper by Ourblogtemplates.com 2008

Back to TOP