Don't expose the PK. You don't really need to. See
com.webobjects.eoaccess.EOUtilities
public static EOEnterpriseObject objectWithPrimaryKeyValue
(EOEditingContext ec,
String
entityName,
Object
value)
public static NSDictionary primaryKeyForObject(EOEditingContext ec,
EOEnterpriseObject
object)
Chuck
On Jul 17, 2007, at 9:36 AM, Mike Schrag wrote:
not at the moment
On Jul 17, 2007, at 12:30 PM, Galen Rhodes wrote:
Actually I'll repost that question because I have two tables that
are in a one-to-one relationship and the PK on one of the tables
needs to be exposed but Entity Modeler keeps complaining about it.
Is there any way to turn off that message?
On Jul 17, 2007, at 12:15 PM, Galen Rhodes wrote:
Scratch that. I was thinking in reverse. I thought it was
because the PK was exposed but instead it's because the FK is
exposed. Opps.
On Jul 17, 2007, at 12:00 PM, Galen Rhodes wrote:
Is there any way to turn off the "<somefield> is a class
property, but is used as a foreign key" warning message in
Entity Modeler? I'm using the latest stable builds.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%
40mdimension.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%
40global-village.net
This email sent to [EMAIL PROTECTED]
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]