Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
473 lines (447 sloc) 30.6 KB
<Type Name="DataServiceQuery&lt;TElement&gt;" FullName="System.Data.Services.Client.DataServiceQuery&lt;TElement&gt;">
<TypeSignature Language="C#" Value="public class DataServiceQuery&lt;TElement&gt; : System.Data.Services.Client.DataServiceQuery, System.Collections.Generic.IEnumerable&lt;TElement&gt;, System.Linq.IQueryable&lt;TElement&gt;" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DataServiceQuery`1&lt;TElement&gt; extends System.Data.Services.Client.DataServiceQuery implements class System.Collections.Generic.IEnumerable`1&lt;!TElement&gt;, class System.Collections.IEnumerable, class System.Linq.IQueryable, class System.Linq.IQueryable`1&lt;!TElement&gt;" />
<TypeSignature Language="DocId" Value="T:System.Data.Services.Client.DataServiceQuery`1" />
<TypeSignature Language="VB.NET" Value="Public Class DataServiceQuery(Of TElement)&#xA;Inherits DataServiceQuery&#xA;Implements IEnumerable(Of TElement), IQueryable(Of TElement)" />
<TypeSignature Language="C++ CLI" Value="generic &lt;typename TElement&gt;&#xA;public ref class DataServiceQuery : System::Data::Services::Client::DataServiceQuery, System::Collections::Generic::IEnumerable&lt;TElement&gt;, System::Linq::IQueryable&lt;TElement&gt;" />
<TypeSignature Language="F#" Value="type DataServiceQuery&lt;'Element&gt; = class&#xA; inherit DataServiceQuery&#xA; interface IQueryable&lt;'Element&gt;&#xA; interface seq&lt;'Element&gt;&#xA; interface IEnumerable&#xA; interface IQueryable" />
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter Name="TElement" />
</TypeParameters>
<Base>
<BaseTypeName>System.Data.Services.Client.DataServiceQuery</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable&lt;T&gt;</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable&lt;TElement&gt;</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Linq.IQueryable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Linq.IQueryable&lt;TElement&gt;</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<typeparam name="TElement">Type of results returned by the query.</typeparam>
<summary>Represents a single query request to a data service.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
No public constructors are defined on this class. Object instances are created by using <xref:System.Data.Services.Client.DataServiceContext.CreateQuery%2A> or <xref:System.Data.Services.Client.DataServiceContext.CreateQuery%2A> on the <xref:System.Data.Services.Client.DataServiceContext> class.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="AddQueryOption">
<MemberSignature Language="C#" Value="public System.Data.Services.Client.DataServiceQuery&lt;TElement&gt; AddQueryOption (string name, object value);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Data.Services.Client.DataServiceQuery`1&lt;!TElement&gt; AddQueryOption(string name, object value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.AddQueryOption(System.String,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function AddQueryOption (name As String, value As Object) As DataServiceQuery(Of TElement)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Data::Services::Client::DataServiceQuery&lt;TElement&gt; ^ AddQueryOption(System::String ^ name, System::Object ^ value);" />
<MemberSignature Language="F#" Value="member this.AddQueryOption : string * obj -&gt; System.Data.Services.Client.DataServiceQuery&lt;'Element&gt;" Usage="dataServiceQuery.AddQueryOption (name, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.Services.Client.DataServiceQuery&lt;TElement&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="name">The string value that contains the name of the query string option to add.</param>
<param name="value">The object that contains the value of the query string option.</param>
<summary>Creates a new <see cref="T:System.Data.Services.Client.DataServiceQuery`1" /> with the query option set in the URI generated by the returned query.</summary>
<returns>A new query that includes the requested query option appended to the URI of the supplied query</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The query options are added to the resultant URI using `?name=value&name2=value2`… syntax where the name maps directly to the `name` parameter and the `value` is obtained by calling ToString on the `value` parameter. The `name` starts with `$`.
Non-[!INCLUDE[ssAstoria](~/includes/ssastoria-md.md)] syntax does not start with `$`. Non-[!INCLUDE[ssAstoria](~/includes/ssastoria-md.md)] query options can be added using this method. It is legal to add the same query option twice if the option is not an [!INCLUDE[ssAstoria](~/includes/ssastoria-md.md)] query option. If a query option is added that is already present in the underlying URI, an exception is thrown.
## Examples
The following example shows a <xref:System.Data.Services.Client.DataServiceQuery%601> that is used with sequential <xref:System.Data.Services.Client.DataServiceQuery%601.AddQueryOption%2A> method calls to only return orders with a freight cost of more than $30 and to order the results by the ship date in descending order.
[!code-csharp[Astoria Northwind Client#AddQueryOptions](~/samples/snippets/csharp/VS_Snippets_Misc/astoria_northwind_client/cs/source.cs#addqueryoptions)]
[!code-vb[Astoria Northwind Client#AddQueryOptions](~/samples/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb#addqueryoptions)]
The following example shows how to compose a LINQ query that is equivalent to the previous query that used <xref:System.Data.Services.Client.DataServiceQuery%601.AddQueryOption%2A>.
[!code-csharp[Astoria Northwind Client#AddQueryOptionsLinq](~/samples/snippets/csharp/VS_Snippets_Misc/astoria_northwind_client/cs/source.cs#addqueryoptionslinq)]
[!code-vb[Astoria Northwind Client#AddQueryOptionsLinq](~/samples/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb#addqueryoptionslinq)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="BeginExecute">
<MemberSignature Language="C#" Value="public IAsyncResult BeginExecute (AsyncCallback callback, object state);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.IAsyncResult BeginExecute(class System.AsyncCallback callback, object state) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.BeginExecute(System.AsyncCallback,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function BeginExecute (callback As AsyncCallback, state As Object) As IAsyncResult" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; IAsyncResult ^ BeginExecute(AsyncCallback ^ callback, System::Object ^ state);" />
<MemberSignature Language="F#" Value="override this.BeginExecute : AsyncCallback * obj -&gt; IAsyncResult" Usage="dataServiceQuery.BeginExecute (callback, state)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IAsyncResult</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="callback" Type="System.AsyncCallback" />
<Parameter Name="state" Type="System.Object" />
</Parameters>
<Docs>
<param name="callback">The delegate to invoke when the operation completes.</param>
<param name="state">User defined object used to transfer state between the start of the operation and the callback defined by <paramref name="callback" />.</param>
<summary>Starts an asynchronous network operation that executes the query represented by this object instance.</summary>
<returns>An <see cref="T:System.IAsyncResult" /> that represents the status of the asynchronous operation.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ElementType">
<MemberSignature Language="C#" Value="public override Type ElementType { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type ElementType" />
<MemberSignature Language="DocId" Value="P:System.Data.Services.Client.DataServiceQuery`1.ElementType" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property ElementType As Type" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property Type ^ ElementType { Type ^ get(); };" />
<MemberSignature Language="F#" Value="member this.ElementType : Type" Usage="System.Data.Services.Client.DataServiceQuery&lt;'Element&gt;.ElementType" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Linq.IQueryable.ElementType</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the type of the object used in the template to create the <see cref="T:System.Data.Services.Client.DataServiceQuery`1" /> instance.</summary>
<value>Returns <see cref="T:System.Type" /> representing the type used in the template when the query is created.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Gets the type represented by T in the generic methods: <xref:System.Data.Services.Client.DataServiceContext.CreateQuery%2A> or <xref:System.Data.Services.Client.DataServiceContext.CreateQuery%2A>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="EndExecute">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerable&lt;TElement&gt; EndExecute (IAsyncResult asyncResult);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Collections.Generic.IEnumerable`1&lt;!TElement&gt; EndExecute(class System.IAsyncResult asyncResult) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.EndExecute(System.IAsyncResult)" />
<MemberSignature Language="VB.NET" Value="Public Function EndExecute (asyncResult As IAsyncResult) As IEnumerable(Of TElement)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Collections::Generic::IEnumerable&lt;TElement&gt; ^ EndExecute(IAsyncResult ^ asyncResult);" />
<MemberSignature Language="F#" Value="override this.EndExecute : IAsyncResult -&gt; seq&lt;'Element&gt;" Usage="dataServiceQuery.EndExecute asyncResult" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;TElement&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="asyncResult" Type="System.IAsyncResult" />
</Parameters>
<Docs>
<param name="asyncResult">The pending asynchronous query request.</param>
<summary>Ends an asynchronous query request to a data service.</summary>
<returns>Returns an <see cref="T:System.Collections.Generic.IEnumerable`1" /> that contains the results of the query operation.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.Data.Services.Client.DataServiceQueryException">When the data service returns an HTTP 404: Resource Not Found error.</exception>
</Docs>
</Member>
<Member MemberName="Execute">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerable&lt;TElement&gt; Execute ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Collections.Generic.IEnumerable`1&lt;!TElement&gt; Execute() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.Execute" />
<MemberSignature Language="VB.NET" Value="Public Function Execute () As IEnumerable(Of TElement)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Collections::Generic::IEnumerable&lt;TElement&gt; ^ Execute();" />
<MemberSignature Language="F#" Value="override this.Execute : unit -&gt; seq&lt;'Element&gt;" Usage="dataServiceQuery.Execute " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerable&lt;TElement&gt;</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Executes the query and returns the results as a collection that implements <see langword="IEnumerable" />.</summary>
<returns>An <see cref="T:System.Collections.Generic.IEnumerable`1" /> in which <paramref name="T" /> represents the type of the query results.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When iterating over the returned collection, if an object is encountered in the input stream that cannot be deserialized to an instance of `T` then a <xref:System.NotSupportedException> is thrown.
]]></format>
</remarks>
<exception cref="T:System.Data.Services.Client.DataServiceQueryException">When the data service returns an HTTP 404: Resource Not Found error.</exception>
</Docs>
</Member>
<Member MemberName="Expand">
<MemberSignature Language="C#" Value="public System.Data.Services.Client.DataServiceQuery&lt;TElement&gt; Expand (string path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Data.Services.Client.DataServiceQuery`1&lt;!TElement&gt; Expand(string path) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.Expand(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function Expand (path As String) As DataServiceQuery(Of TElement)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Data::Services::Client::DataServiceQuery&lt;TElement&gt; ^ Expand(System::String ^ path);" />
<MemberSignature Language="F#" Value="member this.Expand : string -&gt; System.Data.Services.Client.DataServiceQuery&lt;'Element&gt;" Usage="dataServiceQuery.Expand path" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.Services.Client.DataServiceQuery&lt;TElement&gt;</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="System.String" />
</Parameters>
<Docs>
<param name="path">A string value that contains the requesting URI.</param>
<summary>Creates a new <see cref="T:System.Data.Services.Client.DataServiceQuery`1" /> with the expand option set in the URI generated by the returned query.</summary>
<returns>A new query that includes the requested <see langword="$expand" /> query option appended to the URI of the supplied query.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Expression">
<MemberSignature Language="C#" Value="public override System.Linq.Expressions.Expression Expression { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Linq.Expressions.Expression Expression" />
<MemberSignature Language="DocId" Value="P:System.Data.Services.Client.DataServiceQuery`1.Expression" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property Expression As Expression" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Linq::Expressions::Expression ^ Expression { System::Linq::Expressions::Expression ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Expression : System.Linq.Expressions.Expression" Usage="System.Data.Services.Client.DataServiceQuery&lt;'Element&gt;.Expression" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Linq.IQueryable.Expression</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Linq.Expressions.Expression</ReturnType>
</ReturnValue>
<Docs>
<summary>Represents an expression containing the query to the data service.</summary>
<value>A <see cref="T:System.Linq.Expressions.Expression" /> object representing the query.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetEnumerator">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerator&lt;TElement&gt; GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IEnumerator`1&lt;!TElement&gt; GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Public Function GetEnumerator () As IEnumerator(Of TElement)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual System::Collections::Generic::IEnumerator&lt;TElement&gt; ^ GetEnumerator();" />
<MemberSignature Language="F#" Value="abstract member GetEnumerator : unit -&gt; System.Collections.Generic.IEnumerator&lt;'Element&gt;&#xA;override this.GetEnumerator : unit -&gt; System.Collections.Generic.IEnumerator&lt;'Element&gt;" Usage="dataServiceQuery.GetEnumerator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.IEnumerable`1.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerator&lt;TElement&gt;</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Executes the query and returns the results as a collection.</summary>
<returns>A typed enumerator over the results in which <paramref name="TEntity" /> represents the type of the query results.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.Data.Services.Client.DataServiceQuery%601.GetEnumerator%2A> method is called, the <xref:System.Data.Services.Client.DataServiceQuery%601> is executed against the service.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IncludeTotalCount">
<MemberSignature Language="C#" Value="public System.Data.Services.Client.DataServiceQuery&lt;TElement&gt; IncludeTotalCount ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Data.Services.Client.DataServiceQuery`1&lt;!TElement&gt; IncludeTotalCount() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.IncludeTotalCount" />
<MemberSignature Language="VB.NET" Value="Public Function IncludeTotalCount () As DataServiceQuery(Of TElement)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Data::Services::Client::DataServiceQuery&lt;TElement&gt; ^ IncludeTotalCount();" />
<MemberSignature Language="F#" Value="member this.IncludeTotalCount : unit -&gt; System.Data.Services.Client.DataServiceQuery&lt;'Element&gt;" Usage="dataServiceQuery.IncludeTotalCount " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Data.Services.Client.DataServiceQuery&lt;TElement&gt;</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Requests that the count of all entities in the entity set be returned inline with the query results.</summary>
<returns>A new <see cref="T:System.Data.Services.Client.DataServiceQuery`1" /> object that has the inline count option set.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Calling the <xref:System.Data.Services.Client.DataServiceQuery%601.IncludeTotalCount%2A> method is equivalent to including the `$inlinecount` query option in the query URI.
## Examples
This example executes a query after it calls the <xref:System.Data.Services.Client.DataServiceQuery%601.IncludeTotalCount%2A> method. The <xref:System.Data.Services.Client.QueryOperationResponse%601.TotalCount%2A> property is used to determine number of entities returned by the query.
[!code-csharp[Astoria Northwind Client#CountAllCustomers](~/samples/snippets/csharp/VS_Snippets_Misc/astoria_northwind_client/cs/source.cs#countallcustomers)]
[!code-vb[Astoria Northwind Client#CountAllCustomers](~/samples/snippets/visualbasic/VS_Snippets_Misc/astoria_northwind_client/vb/source.vb#countallcustomers)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Provider">
<MemberSignature Language="C#" Value="public override System.Linq.IQueryProvider Provider { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Linq.IQueryProvider Provider" />
<MemberSignature Language="DocId" Value="P:System.Data.Services.Client.DataServiceQuery`1.Provider" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property Provider As IQueryProvider" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property System::Linq::IQueryProvider ^ Provider { System::Linq::IQueryProvider ^ get(); };" />
<MemberSignature Language="F#" Value="member this.Provider : System.Linq.IQueryProvider" Usage="System.Data.Services.Client.DataServiceQuery&lt;'Element&gt;.Provider" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Linq.IQueryable.Provider</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Linq.IQueryProvider</ReturnType>
</ReturnValue>
<Docs>
<summary>Represents the query provider instance.</summary>
<value>A <see cref="T:System.Linq.IQueryProvider" /> representing the data source provider.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RequestUri">
<MemberSignature Language="C#" Value="public override Uri RequestUri { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Uri RequestUri" />
<MemberSignature Language="DocId" Value="P:System.Data.Services.Client.DataServiceQuery`1.RequestUri" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property RequestUri As Uri" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual property Uri ^ RequestUri { Uri ^ get(); };" />
<MemberSignature Language="F#" Value="member this.RequestUri : Uri" Usage="System.Data.Services.Client.DataServiceQuery&lt;'Element&gt;.RequestUri" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Uri</ReturnType>
</ReturnValue>
<Docs>
<summary>Get the URI for the query.</summary>
<value>The URI of the request.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.Collections.IEnumerable.GetEnumerator">
<MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.System#Collections#IEnumerable#GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator" />
<MemberSignature Language="C++ CLI" Value=" virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerable.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Executes the query and returns the results as a collection.</summary>
<returns>An enumerator over the query results.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When the <xref:System.Data.Services.Client.DataServiceQuery%601.System%23Collections%23IEnumerable%23GetEnumerator%2A> method is called, the <xref:System.Data.Services.Client.DataServiceQuery%601> is executed against the service.
<xref:System.Data.Services.Client.DataServiceQuery%601.GetEnumerator%2A> returns an enumerable the first time it is called. On successive calls it returns null.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Services.Client.DataServiceQuery`1.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override System::String ^ ToString();" />
<MemberSignature Language="F#" Value="override this.ToString : unit -&gt; string" Usage="dataServiceQuery.ToString " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Services.Client</AssemblyName>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Represents the URI of the query to the data service.</summary>
<returns>A URI as string that represents the query to the data service for this <see cref="T:System.Data.Services.Client.DataServiceQuery`1" /> instance.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.