A dependent property in a ReferentialConstraint is mapped to a store-generated column. Column: 'ID'

后端 未结 5 998
无人及你
无人及你 2021-01-08 01:13

I can\'t figure out why I get this error when I try to add a Venue object and call SaveChanges(). The only difference in the model with Venue objects is they are 1 to 1..0 r

5条回答
  •  隐瞒了意图╮
    2021-01-08 01:20

    My case was also an incorrectly configured association. Specifically, I had set up a 1..1 relationship when what I needed was a 1..0,1

提交回复
热议问题