Enumeration modelsEnum = modelGroup.models().objectEnumerator();
while (modelsEnum.hasMoreElements()) {
EOModel model = (EOModel) modelsEnum.nextElement();
EOEntity eoAdaptorPrototypesEntity = _modelGroup.entityNamed("EO" + model.adaptorName() + "Prototypes");
if (eoAdaptorPrototypesEntity != null) {
prototypesModel = eoAdaptorPrototypesEntity.model();
// System.out.println("EOFSQLGenerator.EOFSQLGenerator:
// removing " + eoAdaptorPrototypesEntity.name() + " from "
// + prototypesModel.name());
prototypesModel.removeEntity(eoAdaptorPrototypesEntity);
removedPrototypeEntities.takeValueForKey(eoAdaptorPrototypesEntity, eoAdaptorPrototypesEntity.name());