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

后端 未结 13 1478
终归单人心
终归单人心 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 18:07

    In addition to the accepted answer, if you are using EF Reverse POCO generator or some other tool that generates your POCO's, make sure you regenerate them!

提交回复
热议问题