Re: Question about reusing model entities
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