bool InsertCallback(int recordsAffected, Exception exception)
{
if (confirmation != null && recordsAffected > 0)
{
confirmation.ConfirmRecord();
}
AfterRecordInsertedEventArgs eAfterRecordInserted = new AfterRecordInsertedEventArgs(record, recordsAffected, exception, keys, values, confirmation);
this.OnAfterRecordInserted(eAfterRecordInserted);
return eAfterRecordInserted.ExceptionHandled;
}