Jaa


ODataOutputContext.CreateODataDeltaResourceSetWriter Method

Definition

Creates an ODataWriter to write a delta resource set.

public virtual Microsoft.OData.ODataWriter CreateODataDeltaResourceSetWriter (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType resourceType);
abstract member CreateODataDeltaResourceSetWriter : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataWriter
override this.CreateODataDeltaResourceSetWriter : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataWriter
Public Overridable Function CreateODataDeltaResourceSetWriter (entitySet As IEdmEntitySetBase, resourceType As IEdmStructuredType) As ODataWriter

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to write entities for.

resourceType
IEdmStructuredType

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

Returns

The created writer.

Remarks

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

Applies to