DataServiceContext.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 single query for function which return single data.
public virtual Microsoft.OData.Client.DataServiceQuerySingle<T> CreateFunctionQuerySingle<T> (string path, string functionName, bool isComposable, params Microsoft.OData.Client.UriOperationParameter[] parameters);
abstract member CreateFunctionQuerySingle : string * string * bool * Microsoft.OData.Client.UriOperationParameter[] -> Microsoft.OData.Client.DataServiceQuerySingle<'T>
override this.CreateFunctionQuerySingle : string * string * bool * Microsoft.OData.Client.UriOperationParameter[] -> Microsoft.OData.Client.DataServiceQuerySingle<'T>
Public Overridable Function CreateFunctionQuerySingle(Of T) (path As String, functionName As String, isComposable As Boolean, ParamArray parameters As UriOperationParameter()) As DataServiceQuerySingle(Of T)
Type Parameters
- T
The type returned by the query
Parameters
- path
- String
The path before the function.
- 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.