public static Task <DbConnection> OpenConnection(this IConnectionManager connectionManager, IncomingMessage incomingMessage, CancellationToken cancellationToken = default) { var connection = connectionManager.Build(incomingMessage); return(OpenConnection(connection, cancellationToken)); }
public static Task <DbConnection> OpenConnection(this IConnectionManager connectionManager, IncomingMessage incomingMessage) { var connection = connectionManager.Build(incomingMessage); return(OpenConnection(connection)); }