people = (People) EOUtilities.localInstanceOfObject(ec, people);
ERXUtilities.deleteObjects(ec, people.allBugs());
people.delete();
// ERXEOAccessUtilities.deleteRowsDescribedByQualifier(ec, Bug.ENTITY, qualifier)
/* TODO: this should be done in BTBusinessLogic */
EOKeyValueQualifier frameworkQualifier = new EOKeyValueQualifier(Framework.Key.OWNER, EOQualifier.QualifierOperatorEqual, people);
assert(frameworkQualifier != null);
NSArray frameworks = ERXEOControlUtilities.objectsWithQualifier(ec,
Framework.class.getSimpleName(), frameworkQualifier, null, false);
ERXUtilities.deleteObjects(ec, frameworks);