When viewing a blog post with query strings in the URL, an unhandled exception is thrown:
The context can not load the related collection or reference for untracked entities while the 'MergeOption' is not set to 'NoTracking'. Change the 'MergeOption' to 'NoTracking' or attach the 'adx_blogpost' entity.
Line 760: var relatedEntity = entity.GetRelatedEntity<T>(relationship.SchemaName, relationship.PrimaryEntityRole);
When viewing a blog post with query strings in the URL, an unhandled exception is thrown:
The context can not load the related collection or reference for untracked entities while the 'MergeOption' is not set to 'NoTracking'. Change the 'MergeOption' to 'NoTracking' or attach the 'adx_blogpost' entity.
Line 760: var relatedEntity = entity.GetRelatedEntity<T>(relationship.SchemaName, relationship.PrimaryEntityRole);
Source File: C:\Source\Repos\xRM-Portals-Community-Edition\Framework\Microsoft.Xrm.Client\EntityExtensions.cs Line: 759