EntityRangeVariable Constructor (String, IEdmEntityTypeReference, IEdmEntitySet)
Initializes a new instance of the EntityRangeVariable class.
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
entityType As IEdmEntityTypeReference, _
entitySet As IEdmEntitySet _
)
'Usage
Dim name As String
Dim entityType As IEdmEntityTypeReference
Dim entitySet As IEdmEntitySet
Dim instance As New EntityRangeVariable(name, entityType, _
entitySet)
public EntityRangeVariable(
string name,
IEdmEntityTypeReference entityType,
IEdmEntitySet entitySet
)
public:
EntityRangeVariable(
String^ name,
IEdmEntityTypeReference^ entityType,
IEdmEntitySet^ entitySet
)
new :
name:string *
entityType:IEdmEntityTypeReference *
entitySet:IEdmEntitySet -> EntityRangeVariable
public function EntityRangeVariable(
name : String,
entityType : IEdmEntityTypeReference,
entitySet : IEdmEntitySet
)
Parameters
- name
Type: System.String
The name of the associated any/all parameter (null if none).
- entityType
Type: Microsoft.Data.Edm.IEdmEntityTypeReference
The entity type of each item in the collection that this range variable iterates over.
- entitySet
Type: Microsoft.Data.Edm.IEdmEntitySet
The Entity set of the collection this node iterates over.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Throws if the input name or entityType is null. |