0

How to access stored procedure output parameters and/or return values using the Accessors in DotNet Enterprise Library Data Access Block ?

Thanks.

KSurya
  • 1
  • 1

2 Answers2

0

Return values and output parameters are explicitly not supported when using accessors. Use one of the other DAAB methods instead.

Chris Tavares
  • 29,165
  • 4
  • 46
  • 63
  • What do you mean by use one of the other DAAB methods instead? Sorry for the newbie question, but when you say accessors, are you referring to the DbCommand objects and DbParameter objects? I am using DAAB to call a stored proc and I have an issue with getting output parameters. My question is here: http://stackoverflow.com/questions/39985999/microsoft-practices-enterpriselibrary-data-database-addout-parameter-not-getting – ptn77 Oct 21 '16 at 17:14
0
Database.GetParameterValue(command, "paramName");
Kayes
  • 1,016
  • 3
  • 15
  • 22