Provides functionality to evaluate queries against a specific data source wherein the type of the data is not specified.
public interface class IQueryable : System::Collections::IEnumerable
public interface IQueryable : System.Collections.IEnumerable
type IQueryable = interface
interface IEnumerable
Public Interface IQueryable
Implements IEnumerable
The IQueryable 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 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.
Properties ElementTypeGets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed.
ExpressionGets the expression tree that is associated with the instance of IQueryable.
ProviderGets the query provider that is associated with this data source.
Methods Extension Methods See alsoCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4