• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERAttachmentMigration to many?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >ERAttachmentMigration to many? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: ERAttachmentMigration to many?
  • Next by Date: Re: NSDictionary.isEmpty
  • Previous by thread: Re: ERAttachmentMigration to many?
  • Next by thread: Re: ERAttachmentMigration to many?
  • Index(es):
    • Date
    • Thread