DataServiceQuerySingle<TElement> 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
DataServiceQuerySingle<TElement>(DataServiceQuerySingle<TElement>) |
Create a query of a single item based on another one. |
DataServiceQuerySingle<TElement>(DataServiceContext, String) |
Query object of a single item. |
DataServiceQuerySingle<TElement>(DataServiceContext, String, Boolean) |
Query object of a single item. |
DataServiceQuerySingle<TElement>(DataServiceQuerySingle<TElement>)
Create a query of a single item based on another one.
public DataServiceQuerySingle (Microsoft.OData.Client.DataServiceQuerySingle<TElement> query);
new Microsoft.OData.Client.DataServiceQuerySingle<'Element> : Microsoft.OData.Client.DataServiceQuerySingle<'Element> -> Microsoft.OData.Client.DataServiceQuerySingle<'Element>
Public Sub New (query As DataServiceQuerySingle(Of TElement))
Parameters
The query.
Applies to
DataServiceQuerySingle<TElement>(DataServiceContext, String)
Query object of a single item.
public DataServiceQuerySingle (Microsoft.OData.Client.DataServiceContext context, string path);
new Microsoft.OData.Client.DataServiceQuerySingle<'Element> : Microsoft.OData.Client.DataServiceContext * string -> Microsoft.OData.Client.DataServiceQuerySingle<'Element>
Public Sub New (context As DataServiceContext, path As String)
Parameters
- context
- DataServiceContext
Context associated with this query.
- path
- String
A string that resolves to a URI.
Applies to
DataServiceQuerySingle<TElement>(DataServiceContext, String, Boolean)
Query object of a single item.
public DataServiceQuerySingle (Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable);
new Microsoft.OData.Client.DataServiceQuerySingle<'Element> : Microsoft.OData.Client.DataServiceContext * string * bool -> Microsoft.OData.Client.DataServiceQuerySingle<'Element>
Public Sub New (context As DataServiceContext, path As String, isComposable As Boolean)
Parameters
- context
- DataServiceContext
Context associated with this query.
- path
- String
A string that resolves to a URI.
- isComposable
- Boolean
Whether this query is composable.