}
if(ERCAuditTrail.clazz.entityName().equals(eo.entityName())) {
ec.deleteObject(eo);
}
}
ec.processRecentChanges();
NSArray updatedObjects = ec.updatedObjects();
NSArray deletedObjects = ec.deletedObjects();
handleSave(ec, EOEditingContext.InsertedKey, insertedObjects);
handleSave(ec, EOEditingContext.UpdatedKey, updatedObjects);
handleSave(ec, EOEditingContext.DeletedKey, deletedObjects);