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

后端 未结 4 2346
暗喜
暗喜 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

    It would probably be useful to re-post/edit this tagged as linq .net

    DJ - where are you getting this data you post as a proposed solution ?

    The exception doesn't contain this information, so your post is pretty much useless - unless you can specify the source.

提交回复
热议问题