ODataMessageReader.CreateODataEntryReader Method (IEdmEntityType)
Creates an ODataReader to read an entry.
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Function CreateODataEntryReader ( _
entityType As IEdmEntityType _
) As ODataReader
'Usage
Dim instance As ODataMessageReader
Dim entityType As IEdmEntityType
Dim returnValue As ODataReader
returnValue = instance.CreateODataEntryReader(entityType)
public ODataReader CreateODataEntryReader(
IEdmEntityType entityType
)
public:
ODataReader^ CreateODataEntryReader(
IEdmEntityType^ entityType
)
member CreateODataEntryReader :
entityType:IEdmEntityType -> ODataReader
public function CreateODataEntryReader(
entityType : IEdmEntityType
) : ODataReader
Parameters
- entityType
Type: Microsoft.Data.Edm.IEdmEntityType
The expected entity type for the entry to be read.
Return Value
Type: Microsoft.Data.OData.ODataReader
The created reader.