Skip to main content
A newer version of this page is available. .

How to Bind to IQueryable

This topic presents an example that demonstrates how to use virtual sources to bind to IQueryable.

VirtualSourceTutorialScrolling

Complete Example

Remarks

The How to Use Virtual Sources and How to Bind to a Custom Service with Restrictions tutorials demonstrate how to bind to a custom service. This tutorials require writing specific code to make requests to the service.

If you bind to a data source directly, you have an IQueryable object. You can write common code to bind virtual sources to different IQueryable’s implementations. This example shows how to bind to the EntityFramework 6.