Share via


ODataWriter Class

Definition

Base class for OData writers.

public abstract class ODataWriter
type ODataWriter = class
Public MustInherit Class ODataWriter
Inheritance
ODataWriter

Constructors

ODataWriter()

Methods

CreateBinaryWriteStream()

Creates a stream for writing a binary value.

CreateBinaryWriteStreamAsync()

Asynchronously creates a stream for writing a binary value.

CreateTextWriter()

Creates a TextWriter for writing a string value.

CreateTextWriterAsync()

Asynchronously creates a TextWriter for writing a string value.

Flush()

Flushes the write buffer to the underlying stream.

FlushAsync()

Flushes the write buffer to the underlying stream asynchronously.

Write(ODataDeletedResource)

Writes a deleted resource.

Write(ODataDeletedResource, Action)

Writes a deleted resource and performs an action in-between.

Write(ODataDeltaDeletedLink)

Writes a deleted link.

Write(ODataDeltaLink)

Writes a delta link.

Write(ODataDeltaResourceSet)

Writes a delta resource set.

Write(ODataDeltaResourceSet, Action)

Writes a delta resource set and performs an action in-between.

Write(ODataNestedResourceInfo)

Writes a nested resource info.

Write(ODataNestedResourceInfo, Action)

Writes a nested resource info and performs an action in-between.

Write(ODataPrimitiveValue)

Writes a primitive value within an untyped collection.

Write(ODataProperty)

Writes a primitive property within a resource.

Write(ODataProperty, Action)

Writes a primitive property within a resource.

Write(ODataResource)

Writes a resource.

Write(ODataResource, Action)

Writes a resource and performs an action in-between.

Write(ODataResourceSet)

Writes a resource set.

Write(ODataResourceSet, Action)

Writes a resource set and performs an action in-between.

WriteDeltaDeletedLink(ODataDeltaDeletedLink)

Write a delta deleted link.

WriteDeltaDeletedLinkAsync(ODataDeltaDeletedLink)

Asynchronously write a delta deleted link.

WriteDeltaLink(ODataDeltaLink)

Write a delta link.

WriteDeltaLinkAsync(ODataDeltaLink)

Asynchronously writing a delta link.

WriteEnd()

Finishes the writing of a resource set, a resource, or a nested resource info.

WriteEndAsync()

Asynchronously finish writing a resource set, resource, or nested resource info.

WriteEntityReferenceLink(ODataEntityReferenceLink)

Writes an entity reference link, which is used to represent binding to an existing resource in a request payload.

WriteEntityReferenceLinkAsync(ODataEntityReferenceLink)

Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload.

WritePrimitive(ODataPrimitiveValue)

Writes a primitive value within an untyped collection.

WritePrimitiveAsync(ODataPrimitiveValue)

Asynchronously write a primitive value within an untyped collection.

WriteStart(ODataDeletedResource)

Starts writing a deleted resource.

WriteStart(ODataDeltaResourceSet)

Starts the writing of a delta resource set.

WriteStart(ODataNestedResourceInfo)

Starts the writing of a nested resource info.

WriteStart(ODataPropertyInfo)

Writes a primitive property within a resource.

WriteStart(ODataResource)

Starts the writing of a resource.

WriteStart(ODataResourceSet)

Starts the writing of a resource set.

WriteStartAsync(ODataDeletedResource)

Asynchronously writing a delta deleted resource.

WriteStartAsync(ODataDeltaResourceSet)

Asynchronously start writing a resource set.

WriteStartAsync(ODataNestedResourceInfo)

Asynchronously start writing a nested resource info.

WriteStartAsync(ODataPropertyInfo)

Asynchronously write a primitive property within a resource.

WriteStartAsync(ODataResource)

Asynchronously start writing a resource.

WriteStartAsync(ODataResourceSet)

Asynchronously start writing a resource set.

WriteStream(ODataBinaryStreamValue)

Creates a stream for writing a binary value.

Applies to