protected virtual void OnAfterRecordInserted(AfterRecordInsertedEventArgs e) { AfterRecordInsertedEventHandler handler = (AfterRecordInsertedEventHandler)Events[EventAfterRecordInserted]; if (handler != null) { handler(this, e); } }