Share via


ODataOutputContext.CreateODataDeltaResourceSetWriterAsync Method

Definition

Asynchronously creates an ODataWriter to write a delta resource set.

public virtual System.Threading.Tasks.Task<Microsoft.OData.ODataWriter> CreateODataDeltaResourceSetWriterAsync (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType entityType);
abstract member CreateODataDeltaResourceSetWriterAsync : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataWriter>
override this.CreateODataDeltaResourceSetWriterAsync : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataWriter>
Public Overridable Function CreateODataDeltaResourceSetWriterAsync (entitySet As IEdmEntitySetBase, entityType As IEdmStructuredType) As Task(Of ODataWriter)

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to write entities for.

entityType
IEdmStructuredType

The entity type for the entries in the resource set to be written (or null if the entity set base type should be used).

Returns

A running task for the created writer.

Remarks

The write must flush the output when it's finished (inside the last Write call).

Applies to