Click or drag to resize

IDataAccessAdapterOpenConnectionAsync Method (CancellationToken)

Async variant of OpenConnection. Opens the active connection object. If the connection is already open, nothing is done. If no connection object is present, a new one is created

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
Task OpenConnectionAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: Task
Exceptions
ExceptionCondition
ObjectDisposedExceptionDataAccessAdapterBase;This DataAccessAdapter instance has already been disposed, you can't use it for further persistence activity
See Also