Updated: September 2008
Provides functionality to evaluate queries against a specific data source wherein the type of the data is not specified.
Assembly: System.Core (in System.Core.dll)
The interface is intended for implementation by query providers. It is only supposed to be implemented by providers that also implement IQueryable(T). If the provider does not also implement IQueryable(T), the standard query operators cannot be used on the provider's data source.
The 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 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.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003