This week's book giveaway is in the iOS forum.
We're giving away four copies of Classic Computer Science Problems in Swift and have David Kopec on-line!
See this thread for details.
Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

modification for persistingWithRelationshipsUsingGetReference  RSS feed

 
Ranch Hand
Posts: 1676
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think two modifications needs to be done for chapter 6's persistingWithRelationshipsUsingGetReference:




The second modification, originally in createEmployee method, it uses


But the objective of the example is to use getReference to return the proxy of Department,
so we should use getReference () instead.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!