A dependent property in a ReferentialConstraint is mapped to a store-generated column

后端 未结 13 1496
终归单人心
终归单人心 2020-11-27 17:23

I get this error when writing to the database:

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

13条回答
  •  日久生厌
    2020-11-27 17:45

    In my case it was simply that I did not have permissions set properly on the database. I had read only set and Entity framework was giving me a ReferentialConstraint error which threw me off. Added additional write permissions and all was well.

提交回复
热议问题