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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax DbConnection DetermineConnectionToUse(
ITransaction containingTransaction
)
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
See Also