Provides functionality to evaluate queries against a specific data source wherein the type of the data is not specified.
Public Interface IQueryable _ Inherits IEnumerable
public interface IQueryable : IEnumerable
public interface class IQueryable : IEnumerable
type IQueryable = interface interface IEnumerable end
The IQueryable type exposes the following members.
The IQueryable interface is intended for implementation by query providers. It is only supposed to be implemented by providers that also implement IQueryable<(Of <(T>)>). If the provider does not also implement IQueryable<(Of <(T>)>), the standard query operators cannot be used on the provider's data source.
The IQueryable interface inherits the IEnumerable interface so that if it represents a query, the results of that query can be enumerated. Enumeration causes the expression tree associated with an IQueryable object to be executed. The definition of "executing an expression tree" is specific to a query provider. For example, it may involve translating the expression tree to an appropriate query language for the underlying data source. Queries that do not return enumerable results are executed when the Execute method is called.
For more information about how to create your own LINQ provider, see LINQ: Building an IQueryable Provider on MSDN Blogs.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
This interface (sadly) is not available to applications which target all of the list below:
- .Net Framework 4- Silverlight 4- Windows Phone 7