Creates an EntityReference object. In addition if the referenced entity is known the child list of the EntityReference node is made the same As that of the corresponding Entity node....Creates an EntityReference object. In addition if the referenced entity is known the child list of the EntityReference node is made the same as that of the corresponding Entity node.