EOEnterpriseObject eo = ERXUtilities.createEO(destinationEntity().name(), editingContext());
EOEnterpriseObject eo = ERXEOControlUtilities.createAndInsertObject( editingContext(), destinationEntity().name());
    public WOComponent newObjectAction() {        WOComponent result;        if (isEntityReadOnly()) {            throw new IllegalStateException("You cannot create new instances of " + entity().name() + "; it is read-only.");        } else {            _state = NEW;            EOEnterpriseObject eo = ERXUtilities.createEO(destinationEntity().name(),                                                          editingContext());            EditPageInterface epi = D2W.factory().editPageForEntityNamed(destinationEntity().name(),                                                                         session());            epi.setObject(eo);            CreateNewEODelegate delegate = new CreateNewEODelegate();            delegate.editRelationshipPage = this;            delegate.createdEO = eo;            epi.setNextPageDelegate(delegate);            result = (WOComponent)epi;        }        return result;    }