Replaced GetMemberName in XrmExtensions with GetAttributeLogicalName. GetMemberName did not fetch the correct name in the case where the attribute has the same name as the entity. In this case, XrmContext adds a '1' to ensure that the name of the attribute is not the same as the entity class name. GetAttributeLogicalName instead fetches the attribute logical name from the attributelogicalName tag on the attribute instead of just the name of the attribute.
Replaced GetMemberName in XrmExtensions with GetAttributeLogicalName. GetMemberName did not fetch the correct name in the case where the attribute has the same name as the entity. In this case, XrmContext adds a '1' to ensure that the name of the attribute is not the same as the entity class name. GetAttributeLogicalName instead fetches the attribute logical name from the attributelogicalName tag on the attribute instead of just the name of the attribute.

delegateas/Delegate.XrmContext,delegateas/Delegate.XrmContext