• 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 reusing model entities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about reusing model entities


  • Subject: Re: Question about reusing model entities
  • From: Chris Meyer <email@hidden>
  • Date: Wed, 16 Jul 2008 14:32:18 -0700

And what about adding additional relationships specific to the application to the User entity?

Name it GenericUser (or whatever) in the framework. Subclass GenericUser as User in the app model and add whatever you need. Done.

Great! It sounds like I'm on the right track.

So how does WO handle the table name? In the framework, the GenericUser entity will have a table name (and, implicitly, a DB connection). When subclassing/extending the object in the _application_, is the table name and connection in the _framework_ just ignored?

_______________________________________________
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: Question about reusing model entities
      • From: Jean-François Veillette <email@hidden>
References: 
 >Question about reusing model entities (From: Chris Meyer <email@hidden>)
 >Re: Question about reusing model entities (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Not a wocomponent?
  • Next by Date: Re: Not a wocomponent?
  • Previous by thread: Re: Question about reusing model entities
  • Next by thread: Re: Question about reusing model entities
  • Index(es):
    • Date
    • Thread