Click or drag to resize
DataAccessAdapterCoreOpenConnectionAsync 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.1.0.0 (5.1.0)
Syntax
public virtual Task OpenConnectionAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: Task

Implements

IDataAccessAdapterOpenConnectionAsync(CancellationToken)
Exceptions
ExceptionCondition
ObjectDisposedExceptionDataAccessAdapterBase;This DataAccessAdapter instance has already been disposed, you can't use it for further persistence activity
See Also