Exemple #1
0
    private partial async Task <OleDbConnection> OnCreateConnectionAsync(CancellationToken cancellationToken)
    {
        var con = new AbstractConnection(ConnectionString);
        await con.OpenAsync(cancellationToken).ConfigureAwait(false);

        return(con);
    }
Exemple #2
0
    private partial async Task <AbstractConnection> OnCreateConnectionAsync(CancellationToken cancellationToken)
    {
        var con = new AbstractConnection(ConnectionString);
        await con.OpenAsync(cancellationToken).ConfigureAwait(false);

        //TODO: Research server settings.

        return(con);
    }