When I run the following .Net code:
using (var c = Shared.DataSources.BSS1.CreateCommand()) { c.CommandText = \"\\r\\nSelect c1, c2, c3, rowid \\r\\nFrom
Finally I found the answer!!!
After investigating and reflecting into the code I found that by changing the Direction of the Parameter to input output - the problem was resolved.
p.Direction = ParameterDirection.InputOutput;