Re: Question re ERAttachment

2019-12-20 Thread Theodore Petrosky via Webobjects-dev
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 > wrote: > > Started to hav

Re: Question re ERAttachment

2019-12-20 Thread Paul Yu via Webobjects-dev
Markus I would avoid touching the ERAttachment model itself, so I would model a many to many association from person to erattachment. And then if you need another attribute on the association eg isPrimary you can add it there Sent from my iPhone Please excuse iOS autocomplete > On Dec 20, 20

Question re ERAttachment

2019-12-20 Thread Markus Ruggiero via Webobjects-dev
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 the