sproc data returned through ssms but not ef?

I have a GetSomeInfo() sproc which returns data like this when I execute it directly in SSMS:

PRODUCT PROFIT Widget1 9.50 Widget2 10.50 Widget3 8.50 

I’ve auto-genned an ORM with EF6 in my console app. An object reference to the sproc was generated and the following result type is returned:


However, I’m not sure how to access the sproc results from this return object. I tried creating a watch in the debugger to access different properties but I’m not having any luck in getting a handle to the actual data in this return object. Any idea how I can do this?

submitted by /u/random503
[link] [comments]

Leave a Reply