Why can't Entity Framework see my Stored Procedure's column information?

后端 未结 10 1310
终归单人心
终归单人心 2020-12-02 14:54

I have the following stored procedure and when I attempt to Function Import it says my Stored Procedure returns no columns. What am I missing? Any Suggestions?

The

10条回答
  •  一整个雨季
    2020-12-02 14:58

    You're having this problem due to the temp table.

    All you need to do is:

    1. Alter your stored procedure to return the select statement without the temp table.
    2. Go to the function import and get the column information.
    3. Alter your stored procedure back to the original.

提交回复
热议问题