Open utterances-bot opened 1 year ago
Once we have a Postgres instance running, we can perform operations on it. We will use Npgsql to query a Postgres instance with C#
https://www.code4it.dev/blog/postgres-crud-operations-npgsql
public async Task GetVersion() { var versionFromConnection = connection.PostgreSqlVersion;
return versionFromConnection;
}
Why async Task here? :)
CRUD operations on PostgreSQL using C# and Npgsql - Code4IT
Once we have a Postgres instance running, we can perform operations on it. We will use Npgsql to query a Postgres instance with C#
https://www.code4it.dev/blog/postgres-crud-operations-npgsql