efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Provide support to Update Alternate Keys

Open ThiagoDaher opened this issue 6 years ago • 1 comments

By database design, some tables uses composite keys, as values are populated by businesses keys. This strategy can take additional storage needs, but is very efficient in search. However, EF does not allows update of value as sql server does (update Specification set Name = 'specification 1.2' where Name = 'Specification 1'; -- consider name as Unique Key).

Update in cascade is also desired in this scenario, as foreign key tables were created with update cascade in sql.

ThiagoDaher avatar Dec 17 '19 04:12 ThiagoDaher

Duplicate of #4073 and #10551

ajcvickers avatar Dec 17 '19 18:12 ajcvickers