Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Get the currently running command from a connection #1800

@t0pd3v1c3

Description

@t0pd3v1c3

Hello.

How can I get the currents NpgsqlCommand that are executed by NpgsqlConnection and make for them Cancel()? We use Stimulsoft Reports and I can only get NpgsqlConnection from him. Closing the connection does not stop the execution of queries and it runs on the PostgreSQL server.

Npgsql version: 3.2.6.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions