IEnumerable Vs IQueryable

Differences between them based on their properties : IEnumerable Namespace: System.Collections Namespace Derives from: No base interface Deferred Execution : Supported Lazy Loading : Not Supported How does it work : While querying data from database, IEnumerable execute select query on server side, load data in-memory on client side and then filter data. Hence does more work and becomes slow. Suitable for : LINQ to Object and […]

1 5 6 7