BatchReferenceSegment Constructor
Build a BatchReferenceSegment
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
contentId As String, _
edmType As IEdmType, _
entitySet As IEdmEntitySet _
)
'Usage
Dim contentId As String
Dim edmType As IEdmType
Dim entitySet As IEdmEntitySet
Dim instance As New BatchReferenceSegment(contentId, _
edmType, entitySet)
public BatchReferenceSegment(
string contentId,
IEdmType edmType,
IEdmEntitySet entitySet
)
public:
BatchReferenceSegment(
String^ contentId,
IEdmType^ edmType,
IEdmEntitySet^ entitySet
)
new :
contentId:string *
edmType:IEdmType *
entitySet:IEdmEntitySet -> BatchReferenceSegment
public function BatchReferenceSegment(
contentId : String,
edmType : IEdmType,
entitySet : IEdmEntitySet
)
Parameters
- contentId
Type: System.String
The contentId of this segment is referring to
- edmType
Type: Microsoft.Data.Edm.IEdmType
The IEdmType of the resource that this placeholder BatchReferenceSegment represents.
- entitySet
Type: Microsoft.Data.Edm.IEdmEntitySet
The resulting entity set
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if the input edmType of contentID is null. |
ODataException | Throws if the contentID is not in the right format. |