Error calling Stored Procedures from EntityFramework

前端 未结 8 1962
别那么骄傲
别那么骄傲 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:00

    This post should be a comment but I don't have enough rep to comment.

    I was having a similar issue. My stored procedures were visible and yet I was still getting the error. This question and answer from Alex led me to look under Function Imports in the Model Browser and I saw that I had multiple entries for each of the stored procedures. They had sequence numbers to prevent them from being true duplicates. I removed everything under Function Imports and everything under Stored Procedures / Functions and then re-added them by updating the model from the database. My issue is now resolved.

提交回复
热议问题