/// <summary>
 /// Writes a singleton result of a $links query as the message payload.
 /// </summary>
 /// <param name="link">The entity reference link to write as message payload.</param>
 private void WriteEntityReferenceLinkImplementation(ODataEntityReferenceLink link)
 {
     ODataJsonEntityReferenceLinkSerializer jsonEntityReferenceLinkSerializer = new ODataJsonEntityReferenceLinkSerializer(this);
     jsonEntityReferenceLinkSerializer.WriteEntityReferenceLink(link);
 }
        /// <summary>
        /// Writes a singleton result of a $links query as the message payload.
        /// </summary>
        /// <param name="link">The entity reference link to write as message payload.</param>
        private void WriteEntityReferenceLinkImplementation(ODataEntityReferenceLink link)
        {
            ODataJsonEntityReferenceLinkSerializer jsonEntityReferenceLinkSerializer = new ODataJsonEntityReferenceLinkSerializer(this);

            jsonEntityReferenceLinkSerializer.WriteEntityReferenceLink(link);
        }