DataServiceQuery<TElement>.CreateFunctionQuery<T> Method

Definition

Creates a data service query for function which return collection of data.

public virtual Microsoft.OData.Client.DataServiceQuery<T> CreateFunctionQuery<T> (string functionName, bool isComposable, params Microsoft.OData.Client.UriOperationParameter[] parameters);
abstract member CreateFunctionQuery : string * bool * Microsoft.OData.Client.UriOperationParameter[] -> Microsoft.OData.Client.DataServiceQuery<'T>
override this.CreateFunctionQuery : string * bool * Microsoft.OData.Client.UriOperationParameter[] -> Microsoft.OData.Client.DataServiceQuery<'T>
Public Overridable Function CreateFunctionQuery(Of T) (functionName As String, isComposable As Boolean, ParamArray parameters As UriOperationParameter()) As DataServiceQuery(Of T)

Type Parameters

T

The type returned by the query

Parameters

functionName
String

The function name.

isComposable
Boolean

Whether this query is composable.

parameters
UriOperationParameter[]

The function parameters.

Returns

A new DataServiceQuery<TElement> instance that represents the function call.

Applies to