DataServiceQuery<TElement>.CreateFunctionQuerySingle<T> Method
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 a data service query for function which return single data.
public virtual Microsoft.OData.Client.DataServiceQuerySingle<T> CreateFunctionQuerySingle<T> (string functionName, bool isComposable, params Microsoft.OData.Client.UriOperationParameter[] parameters);
abstract member CreateFunctionQuerySingle : string * bool * Microsoft.OData.Client.UriOperationParameter[] -> Microsoft.OData.Client.DataServiceQuerySingle<'T>
override this.CreateFunctionQuerySingle : string * bool * Microsoft.OData.Client.UriOperationParameter[] -> Microsoft.OData.Client.DataServiceQuerySingle<'T>
Public Overridable Function CreateFunctionQuerySingle(Of T) (functionName As String, isComposable As Boolean, ParamArray parameters As UriOperationParameter()) As DataServiceQuerySingle(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 DataServiceQuerySingle<TElement> instance that represents the function call.