BatchReferenceSegment(String, IEdmType, IEdmEntitySetBase) Constructor
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.
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.