The return types for the following stored procedures could not be detected

后端 未结 15 2149
小鲜肉
小鲜肉 2020-12-09 08:09

While drag-drop a stored procedure in dbml file I get this error:

Unknown Return Type
The return types for the following stored

15条回答
  •  眼角桃花
    2020-12-09 08:38

    Just in case anyone else comes across this, I have just experienced it myself.

    In my case, I was referencing a table in an insert statement that no longer existed in my schema. A closer inspection of my code revealed I was inserting into a table called "Account" which was now called "tblAccount". Visual Studio threw no errors on saving the sp, but I experienced the same error when trying to add the sp to the dbml file.

    Hopefully this will help someone else out.

提交回复
热议问题