ODataMessageReader.CreateODataResourceSetReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateODataResourceSetReader(IEdmEntitySetBase, IEdmStructuredType) |
Creates an ODataReader to read a resource set. |
CreateODataResourceSetReader() |
Creates an ODataReader to read a resource set. |
CreateODataResourceSetReader(IEdmStructuredType) |
Creates an ODataReader to read a resource set. |
CreateODataResourceSetReader(IEdmEntitySetBase, IEdmStructuredType)
Creates an ODataReader to read a resource set.
public Microsoft.OData.ODataReader CreateODataResourceSetReader (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
member this.CreateODataResourceSetReader : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Function CreateODataResourceSetReader (entitySet As IEdmEntitySetBase, expectedResourceType As IEdmStructuredType) As ODataReader
Parameters
- entitySet
- IEdmEntitySetBase
The entity set we are going to read resources for.
- expectedResourceType
- IEdmStructuredType
The expected type for the items in the resource set.
Returns
The created reader.
Applies to
CreateODataResourceSetReader()
Creates an ODataReader to read a resource set.
public Microsoft.OData.ODataReader CreateODataResourceSetReader ();
member this.CreateODataResourceSetReader : unit -> Microsoft.OData.ODataReader
Public Function CreateODataResourceSetReader () As ODataReader
Returns
The created reader.
Applies to
CreateODataResourceSetReader(IEdmStructuredType)
Creates an ODataReader to read a resource set.
public Microsoft.OData.ODataReader CreateODataResourceSetReader (Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
member this.CreateODataResourceSetReader : Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Function CreateODataResourceSetReader (expectedResourceType As IEdmStructuredType) As ODataReader
Parameters
- expectedResourceType
- IEdmStructuredType
The expected type for the resources in the resource set.
Returns
The created reader.