SqlDatabase.GetOpenConnection Method

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Overload List

  Name Description
Protected method GetOpenConnection()
Get's a "wrapped" connection that will be not be disposed if a transaction is active (created by creating a TransactionScope instance). The connection will be disposed when no transaction is active.
(Inherited from Database.)
Protected method GetOpenConnection(Boolean)
Get's a "wrapped" connection that will be not be disposed if a transaction is active (created by creating a TransactionScope instance). The connection can be disposed when no transaction is active.
(Inherited from Database.)

See Also

SqlDatabase Class

SqlDatabase Members

Microsoft.Practices.EnterpriseLibrary.Data.Sql Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.