ODataWriter.WriteEntityReferenceLink(ODataEntityReferenceLink) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes an entity reference link, which is used to represent binding to an existing resource in a request payload.
public abstract void WriteEntityReferenceLink (Microsoft.OData.ODataEntityReferenceLink entityReferenceLink);
abstract member WriteEntityReferenceLink : Microsoft.OData.ODataEntityReferenceLink -> unit
Public MustOverride Sub WriteEntityReferenceLink (entityReferenceLink As ODataEntityReferenceLink)
Parameters
- entityReferenceLink
- ODataEntityReferenceLink
The entity reference link to write.
Remarks
This method can only be called for writing request messages. The entity reference link must be surrounded by a nested resource info written through WriteStart/WriteEnd. The Url will be ignored in that case and the Uri from the Url will be used as the binding URL to be written.