SingleResourceFunctionCallNode Constructors
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.
Overloads
SingleResourceFunctionCallNode(String, IEnumerable<QueryNode>, IEdmStructuredTypeReference, IEdmNavigationSource) |
Create a SingleResourceFunctionCallNode |
SingleResourceFunctionCallNode(String, IEnumerable<IEdmFunction>, IEnumerable<QueryNode>, IEdmStructuredTypeReference, IEdmNavigationSource, QueryNode) |
Create a SingleResourceFunctionCallNode |
SingleResourceFunctionCallNode(String, IEnumerable<QueryNode>, IEdmStructuredTypeReference, IEdmNavigationSource)
Create a SingleResourceFunctionCallNode
public SingleResourceFunctionCallNode (string name, System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.QueryNode> parameters, Microsoft.OData.Edm.IEdmStructuredTypeReference returnedStructuredTypeReference, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.OData.UriParser.SingleResourceFunctionCallNode : string * seq<Microsoft.OData.UriParser.QueryNode> * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.OData.UriParser.SingleResourceFunctionCallNode
Public Sub New (name As String, parameters As IEnumerable(Of QueryNode), returnedStructuredTypeReference As IEdmStructuredTypeReference, navigationSource As IEdmNavigationSource)
Parameters
- name
- String
The name of the function to call
- parameters
- IEnumerable<QueryNode>
List of arguments provided to the operation import. Can be null.
- returnedStructuredTypeReference
- IEdmStructuredTypeReference
The return type of this function.
- navigationSource
- IEdmNavigationSource
The entity set or singleton containing the single entity that this operation import returns.
Exceptions
Throws if the input name, returnedEntityTypeReference, or navigationSource is null.
Applies to
SingleResourceFunctionCallNode(String, IEnumerable<IEdmFunction>, IEnumerable<QueryNode>, IEdmStructuredTypeReference, IEdmNavigationSource, QueryNode)
Create a SingleResourceFunctionCallNode
public SingleResourceFunctionCallNode (string name, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmFunction> functions, System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.QueryNode> parameters, Microsoft.OData.Edm.IEdmStructuredTypeReference returnedStructuredTypeReference, Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.UriParser.QueryNode source);
new Microsoft.OData.UriParser.SingleResourceFunctionCallNode : string * seq<Microsoft.OData.Edm.IEdmFunction> * seq<Microsoft.OData.UriParser.QueryNode> * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.UriParser.QueryNode -> Microsoft.OData.UriParser.SingleResourceFunctionCallNode
Public Sub New (name As String, functions As IEnumerable(Of IEdmFunction), parameters As IEnumerable(Of QueryNode), returnedStructuredTypeReference As IEdmStructuredTypeReference, navigationSource As IEdmNavigationSource, source As QueryNode)
Parameters
- name
- String
The name of the operation import to call
- functions
- IEnumerable<IEdmFunction>
the list of functions this node represents.
- parameters
- IEnumerable<QueryNode>
List of arguments provided to the function. Can be null.
- returnedStructuredTypeReference
- IEdmStructuredTypeReference
The return type of this operation import.
- navigationSource
- IEdmNavigationSource
The entity set or singleton containing the single entity that this operation import returns.
- source
- QueryNode
The semantically bound parent of this operation import.
Exceptions
Throws if the input name, returnedEntityTypeReference, or navigationSource is null.