更新时间:2021-06-29 08:44:32
首先尝试通过搜索SP名称(使用Ctrl + Shift + F)删除edmx文件中存在的所有存储过程。
接下来,尝试再次添加预期的SP。这次确保您的新存储过程获取由实体模型生成的复杂类型类以保存SP返回类型
First try to delete all the Stored procedures that exist in the edmx file by searching with the SP name (Use Ctrl + Shift + F).
Next, try to add the intended SP again. This time make sure your new stored procedure gets a complex type class generated by entity model to hold the SP return type