ASP.NET MVC Edit Primary Key Values for Composite Keys

added by Radenko Zec
7/16/2014 4:52:45 PM


There is a lot of debate online on how to handle Composite Keys when updating primary key values into the database. With ASP.NET MVC, you cannot update a Primary Key in a table and it forces people with traditional database skills to adopt to introducing a surrogate key to their Composite key tables. I personally do not like to add surrogate keys to my composite key tables.