Changeset 734 for branches/CoreData/SapphireFrappliance/MetaData/SapphireMObjects/SapphireTVTranslation.m
- Timestamp:
- 01/08/09 21:03:22 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/CoreData/SapphireFrappliance/MetaData/SapphireMObjects/SapphireTVTranslation.m
r578 r734 23 23 } 24 24 25 + (SapphireTVTranslation *)upgradeV1TVTranslation:(NSManagedObject *)oldTran toShow:(SapphireTVShow *)show 26 { 27 NSManagedObjectContext *newMoc = [show managedObjectContext]; 28 29 SapphireTVTranslation *ret = [NSEntityDescription insertNewObjectForEntityForName:SapphireTVTranslationName inManagedObjectContext:newMoc]; 30 ret.name = [oldTran valueForKey:@"name"]; 31 ret.showPath = [oldTran valueForKey:@"showPath"]; 32 ret.tvShow = show; 33 return ret; 34 } 35 25 36 @end
