Answer the question
In order to leave comments, you need to log in
Can primary key be of type string?
The key field can be of type string? When trying to migrate after the update-database command, the following error occurs:
Identity column must be of data type int, bigint, smallint, tinyint, or decimal or numeric with a scale of 0, and constrained to be non nullable
How to fix? Let me know who you met.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question