ODataInputContext.CreateResourceSetReader 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.
Creates an ODataReader to read a resource set.
public virtual Microsoft.OData.ODataReader CreateResourceSetReader (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
abstract member CreateResourceSetReader : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
override this.CreateResourceSetReader : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Overridable Function CreateResourceSetReader (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 structured type for the items in the resource set.
Returns
The newly created ODataReader.