Any clever way to fix 'string or binary data would be truncated' warning with LINQ

后端 未结 4 2349
暗喜
暗喜 2021-02-20 16:42

Is there a clever way to determine which field is causing \'string or binary data would be truncated\' with LINQ.

I\'ve always ended up doing it manually by stepping thr

4条回答
  •  深忆病人
    2021-02-20 17:22

    Seems like they fixed this problem for the Service Pack 1 of .NET 3.5, as noted in this link: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=353232

    Might want to check it out yourself.

提交回复
热议问题