c# NPGSQL to fetch result of INOUT parameter

Closed Posted 5 years ago Paid on delivery
Closed Paid on delivery

Hi there, Im trying to fetch result of an INOUT parameter of a Procedure. (Postgres 11 Procedure)

this is my c# simple code:

using (var conn = new NpgsqlConnection(connString))

{

[login to view URL]();

using (var cmd = [login to view URL]())

{

[login to view URL] = "call [login to view URL](@cresults)";

NpgsqlParameter prm = new NpgsqlParameter()

{

Direction = [login to view URL],

Value = "1",

ParameterName = "@cresults",

NpgsqlDbType = [login to view URL],

};

[login to view URL](prm);

var x = [login to view URL];

[login to view URL]();

}

[login to view URL]();

}

Execution was sucessful but im not able to get the result of the INOUT parameter.

PM ME if you have exeprience with the c# NPGSQL library and Postgres

C# Programming PostgreSQL SQL

Project ID: #17271505

About the project

9 proposals Remote project Active 5 years ago

9 freelancers are bidding on average $129 for this job

sergioeliot3

Hi there. I have worked with Postgre and .NET with NPGSQL I can help out in this project. Thank you. Sergio

$51 SGD in 0 days
(64 Reviews)
6.1
MoustafaS

Hello, I am available to fix this for you within 1 hour only. I have experience doing the same before. Regards

$100 SGD in 1 day
(17 Reviews)
4.7
deepthi2889

Hi, I am a Full stack developer in Microsoft technologies.  My area of expertise is web application development (asp.Net web forms, MVC, classic ASP), web services (SOAP & RESTFul), MySql & Sql Server as back end (th More

$250 SGD in 1 day
(6 Reviews)
3.5
shinemonkey212

How are you? I have read your initial requirement in detail and have become very interested in your requirement. I have the skill to satisfy your requirements. I have experience of years for web site build using v More

$155 SGD in 3 days
(2 Reviews)
4.0