public void processRelationships(EODatabase database, NSArray gids, NSDictionary snapshots, Object context, SynchronizerSettings settings) {
Enumeration gidsEnum = gids.objectEnumerator();
while (gidsEnum.hasMoreElements()) {
EOKeyGlobalID gid = (EOKeyGlobalID) gidsEnum.nextElement();
processGID(database, gid, context, settings);
EOEntity entity = database.entityNamed(gid.entityName());
NSDictionary snapshot = (NSDictionary) snapshots.objectForKey(gid);
Enumeration relationshipsEnum = entity.relationships().objectEnumerator();
while (relationshipsEnum.hasMoreElements()) {
EORelationship relationship = (EORelationship) relationshipsEnum.nextElement();
if (!relationship.isToMany()) {