I am trying to access a Store Procedure from EntityFramework.
I have followed these steps:
First of all I have created the Stored Procedure in the Azure Data
For those of you who tried the solution, but still does not work, make sure your proc don't have any issues with invalid columns names, or any other related issues. I got the same error message, but in my case it was an invalid column name reference in the proc.
Following Steps Resolved it for me : In Visual Studio Open the .edmx file designer . In the designer right click and select model browser. On the model browser double click the entity ,Edit Function Import wizard opens . In this wizard make sure that the drop-down corresponding to stored-procedure is correctly populated . Rebuild