SqlCeDatabase.GetOpenConnection Method

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.

The latest Enterprise Library information can be found at the Enterprise Library site.

Overload List

  Name Description
Ee745823.protmethod(en-us,PandP.10).gif 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.)
Ee745823.protmethod(en-us,PandP.10).gif 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

SqlCeDatabase Class

SqlCeDatabase Members

Microsoft.Practices.EnterpriseLibrary.Data.SqlCe Namespace