Share via


CollectionFunctionCallNode Constructor

Definition

Creates a CollectionFunctionCallNode to represent a operation call that returns a collection

public CollectionFunctionCallNode (string name, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmFunction> functions, System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.QueryNode> parameters, Microsoft.OData.Edm.IEdmCollectionTypeReference returnedCollectionType, Microsoft.OData.UriParser.QueryNode source);
new Microsoft.OData.UriParser.CollectionFunctionCallNode : string * seq<Microsoft.OData.Edm.IEdmFunction> * seq<Microsoft.OData.UriParser.QueryNode> * Microsoft.OData.Edm.IEdmCollectionTypeReference * Microsoft.OData.UriParser.QueryNode -> Microsoft.OData.UriParser.CollectionFunctionCallNode
Public Sub New (name As String, functions As IEnumerable(Of IEdmFunction), parameters As IEnumerable(Of QueryNode), returnedCollectionType As IEdmCollectionTypeReference, source As QueryNode)

Parameters

name
String

The name of this operation.

functions
IEnumerable<IEdmFunction>

the list of functions that this node should represent.

parameters
IEnumerable<QueryNode>

the list of already bound parameters to this operation

returnedCollectionType
IEdmCollectionTypeReference

the type of the collection returned by this operation.

source
QueryNode

The parent of this CollectionFunctionCallNode.

Exceptions

Throws if the provided collection type reference is null.

Throws if the element type of the provided collection type reference is not a primitive or complex type.

Applies to