Share via


EachSegment(IEdmNavigationSource, IEdmType) Constructor

Definition

Build a segment representing $each.

public EachSegment (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmType targetEdmType);
new Microsoft.OData.UriParser.EachSegment : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmType -> Microsoft.OData.UriParser.EachSegment
Public Sub New (navigationSource As IEdmNavigationSource, targetEdmType As IEdmType)

Parameters

navigationSource
IEdmNavigationSource

The entity collection that this set-based operation applies to.

targetEdmType
IEdmType

Target type for the entity being referenced.

Exceptions

Throws if any input parameter is null.

Remarks

$each cannot be applied on singletons.

Applies to