Skip to main content

How to Bind to IQueryable

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


Complete Example


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.