• 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: Question about ERAttachment.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about ERAttachment.


  • Subject: Re: Question about ERAttachment.
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 16 Feb 2010 16:46:45 -0500

the only thing ERAttachment needs is the original two tables (primary one and the one for blob data). on your side, you would need the foreign key id ...  you can extend ERAttachmentMigration to do that.

ms

On Feb 16, 2010, at 4:35 PM, Johnny Miller wrote:

> WOW.  That's really a new paradigm from the way I've been doing things.
>
> So, to get started I'm going to keep things simple and just use the to-one attachment.
>
> I'm also using the file system storage type with the web server directly serving the files.
>
> In that set up will anything be created in the database when I migrate on start up?  Right now, I'm not seeing anything besides the _dbupdater table.
>
> Thanks again,
>
> Johnny
>
>
>
>
> On Feb 16, 2010, at 11:22 AM, Mike Schrag wrote:
>
>> whether you choose a to-one or a many-to-many depends on whether you want one attachment or many ... if you have company.logo it's a to-one to attachment, with no inverse relationship. if it's gallery.photos then it's a many-to-many with no inverse relationship from attachment.
>>
>> On Feb 16, 2010, at 4:13 PM, Johnny Miller wrote:
>>
>>> Hi,
>>>
>>> I've been using ERAttachment's image processor but on a new project I'm going to try out using the entire framework i.e. all the automagic file handling wonderment.
>>>
>>> A question on modeling the attachments.
>>>
>>> When you create the relationship between the entities' key and ERAttachment is that an optional one-to-one relationship or is it an optional one-to-many from your model to erattachment?
>>>
>>> Thanks in advance,
>>>
>>> Johnny
>>>
>>>
>>> Johnny Miller
>>> Kahalawai Media Corp
>>> http://www.kahalawai.com
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> Johnny Miller
> Kahalawai Media Corp
> http://www.kahalawai.com
>
>
>


 _______________________________________________
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: 
 >Question about ERAttachment. (From: Johnny Miller <email@hidden>)
 >Re: Question about ERAttachment. (From: Mike Schrag <email@hidden>)
 >Re: Question about ERAttachment. (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: Creating related objects and multiple ECs
  • Next by Date: Re: session timeout trouble
  • Previous by thread: Re: Question about ERAttachment.
  • Next by thread: Re: Question about ERAttachment.
  • Index(es):
    • Date
    • Thread