private static void InitInlineObjectSetupReference(INakedObject nakedObject, ObjectData data, INakedObjectAssociation field) { var fieldData = (Data)data.GetField(field.Id); IOid referenceOid = fieldData.Oid; INakedObject reference = SetupReference(field, referenceOid, fieldData, nakedObject); Persistor.InitInlineObject(nakedObject.Object, reference.Object); }