Error calling Stored Procedures from EntityFramework

前端 未结 8 1879
别那么骄傲
别那么骄傲 2020-12-30 20:52

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

相关标签:
8条回答
  • 2020-12-30 21:17

    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.

    0 讨论(0)
  • 2020-12-30 21:18

    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

    0 讨论(0)
提交回复
热议问题