Linq to SQL - Failing to update

后端 未结 2 1839
天涯浪人
天涯浪人 2020-12-19 05:58

I\'m having some troubles with updating linq to sql entities. For some reason, I can update every single field of my item entity besides name.

2条回答
  •  长情又很酷
    2020-12-19 06:27

    It appears that the SQL being generated is not including the contents of the SET clause (notice that there is no [Name] = @pXX after SET). Are all of the properties (data type, size, etc.) of the entity field set correctly in the dbml designer?

提交回复
热议问题