I have something similar;

Person to-many documentScans to-One theScan

there is an entity between the Person and the object to be uploaded.

You can keep all kinds of meta data in documentScans.

Ted

> On Dec 20, 2019, at 8:43 AM, Markus Ruggiero via Webobjects-dev 
> <webobjects-dev@lists.apple.com> wrote:
> 
> Started to have a closer look at ERAttachment. Am a bit confused though. 
> There is a nice example in the package doc that explains how to attach an 
> avatar picture to a person. This is modelled as a Person toOne ERAttachment. 
> But what if a person has more than one image or document? This would then 
> require a Person toMany ERAttachments relationship and a foreign key personID 
> on ERAttachment. Is this kind of relationship allowed? Is ERAttachment able 
> to handle something like this? How would I find all the attachments for a 
> given Person?
> 
> Thanks for clarification.
> ---markus---
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
> 
> This email sent to tedp...@yahoo.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to