Compartilhar via


Database.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.
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.

See Also

Database Class

Database Members

Microsoft.Practices.EnterpriseLibrary.Data 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.