Home > C# > Feature of IQueryable

Feature of IQueryable

1) IQueryable exists in System.Linq Namespace.
2) IQueryable can move forward only over a collection, it can’t move backward and between the items.
3) IQueryable is best to query data from out-memory (like remote database, service) collections.While query data from database, IQueryable execute select query on server side with all filters.
4) IQueryable is suitable for LINQ to SQL queries.
5) IQueryable supports deferred execution.
6) IQueryable supports custom query using CreateQuery and Execute methods.
7) IQueryable support lazy loading. Hence it is suitable for paging like scenarios.
8) Extension methods supports by IEnumerable takes expression objects means expression tree.

Advertisements
Categories: C# Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: