Share via


BatchReferenceSegment(String, IEdmType, IEdmEntitySetBase) Constructor

Definition

Build a BatchReferenceSegment

public BatchReferenceSegment (string contentId, Microsoft.OData.Edm.IEdmType edmType, Microsoft.OData.Edm.IEdmEntitySetBase entitySet);
new Microsoft.OData.UriParser.BatchReferenceSegment : string * Microsoft.OData.Edm.IEdmType * Microsoft.OData.Edm.IEdmEntitySetBase -> Microsoft.OData.UriParser.BatchReferenceSegment
Public Sub New (contentId As String, edmType As IEdmType, entitySet As IEdmEntitySetBase)

Parameters

contentId
String

The contentId of this segment is referring to

edmType
IEdmType

The IEdmType of the resource that this placeholder BatchReferenceSegment represents.

entitySet
IEdmEntitySetBase

The resulting entity set

Exceptions

Throws if the input edmType of contentID is null.

Throws if the contentID is not in the right format.

Applies to