"A dependent property in a ReferentialConstraint is mapped to a store-generated column." on a persisted computed column (EntityFramework DB first)

asp.net c# entity-framework entity-framework-6 sql-server-2012

Accepted Answer

When I used the strategy, I made a huge error, but it had previously worked. I made the constraint a mistake.FK_NATURAL_USER___USER___TYPEVALIDATION , unintentionally.

It should have been constructed similar toFK_JURIDICAL_USER___USER___TYPEVALIDATION constraint.

The persistent columns may be handled by the EF. It failed because it attempted to write to the PK of[USER_T] That really should not be a part of the restriction.

I apologise to everyone who spent their time on this.

2
8/8/2016 10:33:51 PM

Popular Answer

ZZZ_tmp


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow