Using the foreign key information, create LinkDefs instead of numeric attributes for references. Update select processing, and using the Type-based instance management, create placeholder entities for the referred ones. Check if subsequent selects update their content.