• 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: To Many Relationship to String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To Many Relationship to String


  • Subject: Re: To Many Relationship to String
  • From: David LeBer <email@hidden>
  • Date: Thu, 12 Aug 2010 14:13:40 -0400

On 2010-08-12, at 2:05 PM, Steve Peery wrote:

> I have an EO object that I want to have a to many relationship to a String object. I could create an EO object to hold the string and do a standard to many relationship but it seems wasteful. Is there a better way?
>
> Steve

I will preface this with "I have no idea what your requirements are" but speaking from experience: Anytime I've tried to cheap-out and take the quick and dirty route with my model I've always regretted it. I would just bite the bullet and model the relationship to an eo. I can think of a bunch of downsides of working with a relationship modeled as an array or similar, and not many upsides. And given the tools (EOGeneration, Migrations, etc) it's not really a big deal to do it right.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




 _______________________________________________
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

  • Follow-Ups:
    • Re: To Many Relationship to String
      • From: Steve Peery <email@hidden>
References: 
 >To Many Relationship to String (From: Steve Peery <email@hidden>)

  • Prev by Date: Re: Dates (1-day resolution) redux
  • Next by Date: Re: To Many Relationship to String
  • Previous by thread: To Many Relationship to String
  • Next by thread: Re: To Many Relationship to String
  • Index(es):
    • Date
    • Thread