Re: ERAttachmentMigration to many?
Re: ERAttachmentMigration to many?
- Subject: Re: ERAttachmentMigration to many?
- From: David Holt <email@hidden>
- Date: Thu, 16 Sep 2010 12:29:26 -0700
I use a to-many to an intermediate EO, then a to-one from it to ERAttachment.
Job ->> Attachment -> ERAttachment
This allows the collection of additional metadata and for me simplifies the model. You can also model the to-many directly and turn off the back relationship if you wish. This will create it without modifying the ERAttachment model.
David
On 2010-09-16, at 12:21 PM, Theodore Petrosky wrote:
> How do you model a to many relationship with ERAttachmentMigration?
>
> I have 1 job and I need to model many attachments. What do I create in the migration? Obviously, I am not adding an id to the t_job table. Sorry if it sounds basic but the example only shows a to one relationship.
>
> Ted
>
>
>
> _______________________________________________
> 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
_______________________________________________
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