EF6,exception: The data reader returned by the store data provider does not have enough columns for the query requested.
「The data reader returned by the store data provider does not have enough columns for the query requested.」
解法
在原來的stored procedure中,應該是以 Return @result做傳回值的動作,
改為select @result的方式傳回即可解決這個問題
參考這裡
沒有留言:
張貼留言