I have a Proc that returns many cursors and ref params.
When I call the **AsQuery ** I only get the Ref Cursors, not the ref params:
using var query = RetrievalProcedures.GetAccountDetailsCallAsQuery(username,
ref accountTypeId,
ref userNameOut,
adapter);
using (var reader = adapter.FetchDataReader(query, CommandBehavior.CloseConnection))
{ .......
}
**userNameOut **is "null"
But when I call it via this, I get the ref params:
RetrievalProcedures.AccountDetails(username,
ref accountTypeId,
ref userNameOut,
adapter);
How can I get both in 1 call ?