On Jul 8, 2010, at 7:33 PM, [email protected] wrote:

> Using the standard Employee/Department example, Whats the best way to set a 
> default department for an Employee?
> So that every employee is created with a relationship to the "mailRoom" 
> department.


Probably to add some custom code to AwakeFromInsert in your employee 
NSManagedObjectSubclass to set its own department.

-Noah_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to