Hello,
For custom tables, you need to use the events of the
ObjectEvents class that are fired upon any object change:
- Insert - fired upon the insertion of a new object.
- Update - fired upon the update of the existing object.
- Delete - fired upon the object deletion.
- GetContent - Provides the additional object content to the search indexer.
ObjectEvents.Insert.After += new EventHandler<ObjectEventArgs>(Insert_After);
...
void Insert_After(object sender, ObjectEventArgs e)
{
// your custom code
}
Best regards,
Michal Legen