Share via


DataServiceQuerySingle<TElement> Constructors

Definition

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

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.

Applies to