NonentityRangeVariable Constructor
Initializes a new instance of the NonentityRangeVariable class.
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
typeReference As IEdmTypeReference, _
collectionNode As CollectionNode _
)
'Usage
Dim name As String
Dim typeReference As IEdmTypeReference
Dim collectionNode As CollectionNode
Dim instance As New NonentityRangeVariable(name, typeReference, _
collectionNode)
public NonentityRangeVariable(
string name,
IEdmTypeReference typeReference,
CollectionNode collectionNode
)
public:
NonentityRangeVariable(
String^ name,
IEdmTypeReference^ typeReference,
CollectionNode^ collectionNode
)
new :
name:string *
typeReference:IEdmTypeReference *
collectionNode:CollectionNode -> NonentityRangeVariable
public function NonentityRangeVariable(
name : String,
typeReference : IEdmTypeReference,
collectionNode : CollectionNode
)
Parameters
- name
Type: System.String
The name of the associated range variable.
- typeReference
Type: Microsoft.Data.Edm.IEdmTypeReference
The type of the value the range variable represents.
- collectionNode
Type: Microsoft.Data.OData.Query.SemanticAst.CollectionNode
The collection that this range variable node iterates over, can be null in the case of single value nodes.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Throws if the input name is null. |
ArgumentException | Throws if the input type reference is an entity type. |