I've to use an oracle function that returns an array of strings in a c# webapi. I don't realy have an idea on how to do this. I've started with the following code:
using (var cmd = _connection.CreateCommand())
{
cmd.CommandType = CommandType.Text;
//dual is temporary table where data is stored?!
cmd.CommandText = "select Test_mp.f_loten(:p_item) from dual";
var p = cmd.Parameters;
p.Add("p_item", 12942);
_connection.Open();
var rd= await cmd.ExecuteReaderAsync();
}