1

I am using MERGE REPLICATION on my server and now all tables have a rowguid, the last models generated before this change is working very good, but now the new table I imported (using database-first) get the rowguid and making impossible to update, I deleted this column in Model.edmx and I got this error.

Error 3023: Problem in mapping fragments starting at line 551: Column Location.rowguid in table Location must be mapped: It has no default value and is not nullable.

4

1 回答 1

2

您可以备份您的数据库,然后在另一台计算机上恢复它而不保留复制设置,这将删除所有复制跟踪,包括添加的 rowguid 列,然后您可以从恢复的数据库生成您的实体。

还原数据库复制设置

于 2013-07-15T01:28:48.003 回答