if (prototypeEntityName == null && !(ERXModelGroup_.patchModelsOnLoad())) {
if (prototypeEntityName == null && !(ERXModelGroup.patchModelsOnLoad())) {
    protected String prototypeEntityNameForModel(EOModel model) {      String modelName = model.name();      String prototypeEntityName = ERXSystem.getProperty(modelName + ".EOPrototypesEntity");      NSDictionary databaseConfig = databaseConfigForModel(model);      if (prototypeEntityName == null && databaseConfig != null) {        prototypeEntityName = (String) databaseConfig.objectForKey("prototypeEntityName");      }      if (prototypeEntityName == null && !(ERXModelGroup_.patchModelsOnLoad())) {        String pluginName = ERXEOAccessUtilities.guessPluginName(model);        if (pluginName != null) {          String pluginPrototypeEntityName = "EOJDBC" + pluginName + "Prototypes";          // This check isn't technically necessary since          // it doesn't down below, but since          // we are guessing here, I don't want themt o          // get a warning about the prototype not          // being found if they aren't even using Wonder          // prototypes.          if (model.modelGroup().entityNamed(pluginPrototypeEntityName) != null) {            prototypeEntityName = pluginPrototypeEntityName;          }        }      }      return prototypeEntityName;    }