Reputation: 33080
Say I have a program. The program has a property called currentLocation.
Well when I construct currentLocation, if I add that to the context, that means I will end up keep adding new and new currentLocation object in the context?
Can I create currentLocation object outside it's context?
Or what would be a better solution?
Upvotes: 0
Views: 252
Reputation: 44633
None of the changes are committed until you save. If you do not want to save something, you can always rollback.
Upvotes: 1