IQueryable`1.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Type Name="IQueryable&lt;T&gt;" FullName="System.Linq.IQueryable&lt;T&gt;">
  3. <TypeSignature Language="C#" Value="public interface IQueryable&lt;out T&gt; : System.Collections.Generic.IEnumerable&lt;out T&gt;, System.Linq.IQueryable" />
  4. <TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IQueryable`1&lt;+ T&gt; implements class System.Collections.Generic.IEnumerable`1&lt;!T&gt;, class System.Collections.IEnumerable, class System.Linq.IQueryable" />
  5. <AssemblyInfo>
  6. <AssemblyName>System.Core</AssemblyName>
  7. <AssemblyVersion>3.5.0.0</AssemblyVersion>
  8. <AssemblyVersion>4.0.0.0</AssemblyVersion>
  9. </AssemblyInfo>
  10. <TypeParameters>
  11. <TypeParameter Name="T">
  12. <Constraints>
  13. <ParameterAttribute>Covariant</ParameterAttribute>
  14. </Constraints>
  15. </TypeParameter>
  16. </TypeParameters>
  17. <Interfaces>
  18. <Interface>
  19. <InterfaceName>System.Collections.Generic.IEnumerable&lt;T&gt;</InterfaceName>
  20. </Interface>
  21. <Interface>
  22. <InterfaceName>System.Linq.IQueryable</InterfaceName>
  23. </Interface>
  24. </Interfaces>
  25. <Docs>
  26. <typeparam name="T">To be added.</typeparam>
  27. <remarks>
  28. <attribution license="cc4" from="Microsoft" modified="false" />
  29. <para>The <see cref="T:System.Linq.IQueryable`1" /> interface is intended for implementation by query providers.</para>
  30. <para>This interface inherits the <see cref="T:System.Collections.Generic.IEnumerable`1" /> interface so that if it represents a query, the results of that query can be enumerated. Enumeration forces the expression tree associated with an <see cref="T:System.Linq.IQueryable`1" /> object to be executed. Queries that do not return enumerable results are executed when the <see cref="M:System.Linq.IQueryProvider.Execute``1(System.Linq.Expressions.Expression)" /> method is called.</para>
  31. <para>The definition of "executing an expression tree" is specific to a query provider. For example, it may involve translating the expression tree to a query language appropriate for an underlying data source.</para>
  32. <para>The <see cref="T:System.Linq.IQueryable`1" /> interface enables queries to be polymorphic. That is, because a query against an <unmanagedCodeEntityReference>IQueryable</unmanagedCodeEntityReference> data source is represented as an expression tree, it can be executed against different types of data sources.</para>
  33. <para>The static (Shared in Visual Basic) methods defined in the class <see cref="T:System.Linq.Queryable" /> (except for <see cref="Overload:System.Linq.Queryable.AsQueryable" />, <see cref="Overload:System.Linq.Queryable.ThenBy" />, and <see cref="Overload:System.Linq.Queryable.ThenByDescending" />) extend objects of types that implement the <see cref="T:System.Linq.IQueryable`1" /> interface.</para>
  34. <para>For more information about how to create your own LINQ provider, see <see cref="http://go.microsoft.com/fwlink/?LinkID=112370">LINQ: Building an IQueryable Provider</see> on MSDN Blogs.</para>
  35. </remarks>
  36. <summary>
  37. <attribution license="cc4" from="Microsoft" modified="false" />
  38. <para>Provides functionality to evaluate queries against a specific data source wherein the type of the data is known.</para>
  39. </summary>
  40. </Docs>
  41. <Members />
  42. </Type>