/// <inheritdoc /> public async Task <IDbConnection> GetConnectionAsync() { var connection = new EncryptedDbConnection(_connectionString, _securityContextAccessor.SecurityContext()); await connection.OpenAsync(); return(connection); }
/// <inheritdoc /> public IDbConnection GetConnection() { var connection = new EncryptedDbConnection(_connectionString, _securityContextAccessor.SecurityContext()); connection.Open(); return(connection); }