ODataInputContext.CreateUriParameterResourceReader 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 in a Uri operation parameter.
public virtual Microsoft.OData.ODataReader CreateUriParameterResourceReader (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
abstract member CreateUriParameterResourceReader : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
override this.CreateUriParameterResourceReader : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Overridable Function CreateUriParameterResourceReader (navigationSource As IEdmNavigationSource, expectedResourceType As IEdmStructuredType) As ODataReader
Parameters
- navigationSource
- IEdmNavigationSource
The navigation source we are going to read resources for.
- expectedResourceType
- IEdmStructuredType
The expected resource type for the resource to be read.
Returns
The newly created ODataReader.