Share via


ODataMessageWriter.CreateODataResourceSetWriter Method

Definition

Overloads

CreateODataResourceSetWriter(IEdmEntitySetBase, IEdmStructuredType)

Creates an ODataWriter to write a resource set.

CreateODataResourceSetWriter()

Creates an ODataWriter to write a resource set.

CreateODataResourceSetWriter(IEdmEntitySetBase)

Creates an ODataWriter to write a resource set.

CreateODataResourceSetWriter(IEdmEntitySetBase, IEdmStructuredType)

Creates an ODataWriter to write a resource set.

public Microsoft.OData.ODataWriter CreateODataResourceSetWriter (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType resourceType);
member this.CreateODataResourceSetWriter : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataWriter
Public Function CreateODataResourceSetWriter (entitySet As IEdmEntitySetBase, resourceType As IEdmStructuredType) As ODataWriter

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to write entities for.

resourceType
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

The created writer.

Applies to

CreateODataResourceSetWriter()

Creates an ODataWriter to write a resource set.

public Microsoft.OData.ODataWriter CreateODataResourceSetWriter ();
member this.CreateODataResourceSetWriter : unit -> Microsoft.OData.ODataWriter
Public Function CreateODataResourceSetWriter () As ODataWriter

Returns

The created writer.

Applies to

CreateODataResourceSetWriter(IEdmEntitySetBase)

Creates an ODataWriter to write a resource set.

public Microsoft.OData.ODataWriter CreateODataResourceSetWriter (Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
member this.CreateODataResourceSetWriter : Microsoft.OData.Edm.IEdmEntitySetBase -> Microsoft.OData.ODataWriter
Public Function CreateODataResourceSetWriter (entitySet As IEdmEntitySetBase) As ODataWriter

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to write entities for.

Returns

The created writer.

Applies to