What instantiate-able types implementing IQueryable are available in .Net 4.0?

IQueryable objects are produced by Queryable Providers (ex. LINQ to SQL, LINQ to Entities/Entity Framework, etc). Virtually nothing you can instantiate with new in the basic .NET Framework implements IQueryable. IQueryable is an interface designed to be used to create Queryable providers, which allow the LINQ library to be leveraged against an external data store … Read more

Differences between IQueryable, List, IEnumerator?

IQueryable<T> is intended to allow a query provider (for example, an ORM like LINQ to SQL or the Entity Framework) to use the expressions contained in a query to translate the request into another format. In other words, LINQ-to-SQL looks at the properties of the entities that you’re using along with the comparisons you’re making … Read more

To return IQueryable or not return IQueryable [closed]

The pros; composability: callers can add filters callers can add paging callers can add sorting etc The cons; non-testability: Your repository is no longer properly unit testable; you can’t rely on a: it working, b: what it does; the caller could add a non-translatable function (i.e. no TSQL mapping; breaks at runtime) the caller could … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)