Re: Vertical inheritance bug
Re: Vertical inheritance bug
- Subject: Re: Vertical inheritance bug
- From: Alexis Tual <email@hidden>
- Date: Thu, 30 May 2013 16:56:20 +0200
And some more generic fix :
for (EOModel model : ERXModelGroup.defaultGroup().models()) {
for (EOEntity entity : model.entities()) {
for (EORelationship relationship : entity.relationships()) {
EOEntity destination = relationship.destinationEntity();
if (destination != null && destination.parentEntity() != null) {
relationship.anyInverseRelationship();
}
}
}
}
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden