问题
I'm trying to understand how works the validation events in Sprind data REST. I understand that the event "beforeSave" runs just before I save a new information in the data source. I understand that the event "afterSave" is called at the end of storeing a new data. However, I don't understand when the events "beforeLinkSave" and "afterLinkSave" are run.
Does someone know the answer?
回答1:
I have learned. The event "beforeLinkSave" is run before a new link is saved in an one to many or many to many relationship. "afterLinkSave" is similar. It is run after a new link is saved
来源:https://stackoverflow.com/questions/19174050/events-beforelinksave-and-afterlinksave