Does Entity Framework use database connection pooling? and is it by default?
I have been sea开发者_StackOverflowrching 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.
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.
精彩评论