return sourceAttributeForRelationship(relationship).columnName();
}
public static EOEnterpriseObject refetchFailedObject(EOEditingContext ec, EOGeneralAdaptorException e) {
EOAdaptorOperation adaptorOp = (EOAdaptorOperation) e.userInfo().objectForKey(EOAdaptorChannel.FailedAdaptorOperationKey);
EODatabaseOperation databaseOp = (EODatabaseOperation) e.userInfo().objectForKey(EODatabaseContext.FailedDatabaseOperationKey);
NSDictionary dbSnapshot = databaseOp.dbSnapshot();
EOEntity entity = adaptorOp.entity();
String entityName = entity.name();
EOGlobalID gid = entity.globalIDForRow(dbSnapshot);
EOEnterpriseObject eo = ec.faultForGlobalID(gid, ec);
// EOUtilities.databaseContextForModelNamed(ec, eo.entityName()).forgetSnapshotForGlobalID(gid);