What happens when you close an Entity Framework connection

Posted by Shiraz Bhaiji on Stack Overflow See other posts from Stack Overflow or by Shiraz Bhaiji
Published on 2010-04-14T11:13:54Z Indexed on 2010/04/14 11:43 UTC
Read the original article Hit count: 431

We are using Entity Framework 1.0.

In some cases we need to explicitly open connections, and then need to explicitly close connections. See http://msdn.microsoft.com/en-us/library/bb738582.aspx

My question is, when we call "close" does the connection actually get closed, or is it just returned to the connection pool?

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about database-connection