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.11.0.0 (5.11.23.1114)
Syntax public virtual DbConnection DetermineConnectionToUse(
ITransaction containingTransaction
)
Public Overridable Function DetermineConnectionToUse (
containingTransaction As ITransaction
) As DbConnection
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:
DbConnectionA ready to use connection object
Implements
IDaoDetermineConnectionToUse(ITransaction)See Also