Hi -
I got this message on Chapter 15 exercise "Cannot insert explicit value for identity column in table 'Review' when IDENTITY_INSERT is set to OFF." If I tried to change the Identity Specification to NO - but, I got this message "Violation of PRIMARY KEY constraint 'PK_Table2'. Cannot insert duplicate key in object 'dbo.Review'. The statement has been terminated."
I tried also the following:
1. Delete the tables from the EF diagram and add them again.
2. Select the Id column in EF designer and open its Properties Grid (F4). Then set StoreGeneratedPattern to Identity, save your changes and try again.
3.; Try to update the model. Right-click the design surface of the EF diagram and choose Update Model from Database and follow the on-screen instructions.
All are to no avail.
Appreciate help
Jorgen
