Does Entity Framework use database connection pooling? and is it by default?

ado.net entity-framework sql-server

Question

I have been searching for a while about how EF utilizes connections to SQL Server DB, and whether it is using Connection pools under the hood, but I couldn't find any details about that.

1
11
5/17/2010 7:14:55 AM

Accepted Answer

Connection pooling is handled by the underlying datasource provider, and not by the Entity Framework. The MS SQL provider, for example, supports and uses connection pooling by default.

Using Connection Pooling with SQL Server

is a good reference.

14
5/17/2010 7:42:23 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow