LINQ select on a SQL View gets wrong answer

后端 未结 7 1232
猫巷女王i
猫巷女王i 2021-01-05 02:07

I have a SQL View that produces a response with 8 columns. Its a rather complicated so I won\'t list it here and it won\'t add much to the issue I\'m trying to understand.

7条回答
  •  隐瞒了意图╮
    2021-01-05 02:48

    I added

    ISNULL(CONVERT(VARCHAR(50), NEWID()), '') AS Pkid 
    

    as my first column in my view to address this problem.

提交回复
热议问题