Share via


ODataOutputContext.CreateODataUriParameterResourceSetWriter Method

Definition

Creates an ODataWriter to write a resource set into a Uri operation parameter.

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

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to write resources 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