Share via


Database.GetWrappedConnection Method

Gets a "wrapped" connection for use outside a transaction.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
Protected Overridable Function GetWrappedConnection As DatabaseConnectionWrapper
protected virtual DatabaseConnectionWrapper GetWrappedConnection()
protected:
virtual DatabaseConnectionWrapper^ GetWrappedConnection()
protected function GetWrappedConnection() : DatabaseConnectionWrapper

Return Value

The wrapped connection.

See Also

Database Class

Microsoft.Practices.EnterpriseLibrary.Data Namespace