DataServiceQuerySingle<TElement> Class
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.
Query object of a single item.
public class DataServiceQuerySingle<TElement>
type DataServiceQuerySingle<'Element> = class
Public Class DataServiceQuerySingle(Of TElement)
Type Parameters
- TElement
Type of object to materialize.
- Inheritance
-
DataServiceQuerySingle<TElement>
Constructors
DataServiceQuerySingle<TElement>(DataServiceContext, String, Boolean) |
Query object of a single item. |
DataServiceQuerySingle<TElement>(DataServiceContext, String) |
Query object of a single item. |
DataServiceQuerySingle<TElement>(DataServiceQuerySingle<TElement>) |
Create a query of a single item based on another one. |
Properties
Context |
Context associated with this query. |
IsComposable |
Whether this query is composable. |
RequestUri |
Get the URI for the query. |
Methods
AppendRequestUri(String) |
Get a new URI string by adding |
BeginGetValue(AsyncCallback, Object) |
Starts an asynchronous network operation that executes the query represented by this object instance. |
CastTo<TResult>() |
Cast this query type into its derived type. |
CreateFunctionQuery<T>(String, Boolean, UriOperationParameter[]) |
Creates a data service query for function which return collection of data. |
CreateFunctionQuerySingle<T>(String, Boolean, UriOperationParameter[]) |
Creates a data service query for function which return single data. |
EndGetValue(IAsyncResult) |
Ends an asynchronous query request to a data service. |
Expand(String) |
Expands a query to include entities from a related entity set in the query response. |
Expand<TTarget>(Expression<Func<TElement,TTarget>>) |
Expands a query to include entity from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy. |
GetPath(String) |
Get a new URI path string by adding |
GetValue() |
Executes the query and returns the result. |
GetValueAsync() |
Starts an asynchronous network operation that executes the query represented by this object instance. |
GetValueAsync(CancellationToken) |
Starts an asynchronous network operation that executes the query represented by this object instance. |
Select<TResult>(Expression<Func<TElement,TResult>>) |
Projects the element of this query into a new form. |