does not have a corresponding column in the data reader with the same name

前端 未结 4 1255
清歌不尽
清歌不尽 2021-01-04 00:56

I have Table named tbl_search with columns : id(int), title(nvarchar100), result(ntext) and i want using SQL query, like

4条回答
  •  既然无缘
    2021-01-04 01:07

    I did the following:

    1. Verified that the stored procedure was up-to-date (the "live" columns were updated).
    2. In EF, I removed, saved, then re-added the stored proc.
    3. Rebuilt and verified all of the types were mapped correctly (no errors).

    After doing the above, the error was gone.

提交回复
热议问题