Click or drag to resize

IDaoDetermineConnectionToUse Method

Determines which connection to use: the connection held by the passed in transaction (if any) or a new one (if no Transaction was passed in)

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
DbConnection DetermineConnectionToUse(
	ITransaction containingTransaction
)

Parameters

containingTransaction
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A transaction the caller participates in. If null, the caller is not participating in a transaction

Return Value

Type: DbConnection
A ready to use connection object
See Also