Click or drag to resize
DaoBaseDetermineConnectionToUse 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.2.0.0 (5.2.17.0403)
Syntax
public virtual 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

Implements

IDaoDetermineConnectionToUse(ITransaction)
See Also