Share via


ODataNestedResourceInfoWrapper Class

Definition

Encapsulates an ODataNestedResourceInfo and the list of nested items.

public sealed class ODataNestedResourceInfoWrapper : Microsoft.AspNet.OData.Formatter.Deserialization.ODataItemBase
type ODataNestedResourceInfoWrapper = class
    inherit ODataItemBase
Public NotInheritable Class ODataNestedResourceInfoWrapper
Inherits ODataItemBase
Inheritance
ODataNestedResourceInfoWrapper

Remarks

A nested resource info for a singleton nested property can only contain one item - either ODataResource or ODataEntityReferenceLink. A nested resource info for a collection nested property can contain any number of items - each is either ODataResource or ODataEntityReferenceLink.

Constructors

ODataNestedResourceInfoWrapper(ODataNestedResourceInfo)

Initializes a new instance of ODataNestedResourceInfoWrapper.

Properties

Item

Gets the wrapped ODataItem.

(Inherited from ODataItemBase)
NestedItems

Gets the nested items that are part of this nested resource info.

NestedResourceInfo

Gets the wrapped ODataNestedResourceInfo.

Applies to