CollectionResourceFunctionCallNode 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.
Creates an CollectionResourceFunctionCallNode to represent a operation call that returns a collection of entities.
public CollectionResourceFunctionCallNode (string name, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmFunction> functions, System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.QueryNode> parameters, Microsoft.OData.Edm.IEdmCollectionTypeReference returnedCollectionTypeReference, Microsoft.OData.Edm.IEdmEntitySetBase navigationSource, Microsoft.OData.UriParser.QueryNode source);
new Microsoft.OData.UriParser.CollectionResourceFunctionCallNode : string * seq<Microsoft.OData.Edm.IEdmFunction> * seq<Microsoft.OData.UriParser.QueryNode> * Microsoft.OData.Edm.IEdmCollectionTypeReference * Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.UriParser.QueryNode -> Microsoft.OData.UriParser.CollectionResourceFunctionCallNode
Public Sub New (name As String, functions As IEnumerable(Of IEdmFunction), parameters As IEnumerable(Of QueryNode), returnedCollectionTypeReference As IEdmCollectionTypeReference, navigationSource As IEdmEntitySetBase, 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 parameters to this operation
- returnedCollectionTypeReference
- IEdmCollectionTypeReference
the type the entity collection returned by this operation. The element type must be an entity type.
- navigationSource
- IEdmEntitySetBase
the set containing entities returned by this operation
- source
- QueryNode
the semantically bound parent of this CollectionResourceFunctionCallNode.
Exceptions
Throws if the input operation imports is null
Throws if the element type of the provided collection type reference is not an entity type.