|
|
1.1 ! root 1: /* ResetRelationships.h created by cfeder on Thu 15-Dec-1994 */ ! 2: #import <eoaccess/eoaccess.h> ! 3: ! 4: // These extensions helps handle resetting relationship pointers when foreign ! 5: // key attributes in the source object have changed. Most programs ! 6: // would be better off going the other direction: set the relationship pointer ! 7: // to the new destination object, and then use the methods above to fix ! 8: // up the keys. RelationshipKeySetter handles this case. ! 9: @interface EODatabaseChannel (setForeignKey) ! 10: - objectForPrimaryKey:(NSDictionary *)key entity:(EOEntity *)entity; ! 11: - fetchObjectDescribedByQualifier:(EOQualifier *)qualifier; ! 12: - destinationObjectForRelationship:relationship sourceObject:sourceObject; ! 13: - (void)updateRelationshipsInObject:object forModifiedAttributes:(NSArray *)attributes; ! 14: @end ! 15: ! 16:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.