EF Core Code First HasKey Option creating both Cluster Index as well as Unique constraint
I am having the .Net Core Entity Framework Code First Web API solution. I am trying to create new Model using Code First approach. I have use “HasKey” option but is creating Cluster Index and Unique Constraint as well. Cluster Index that can be understandable however, it is not getting clear why it is creating Unique Constraint. I do not want to be create additional unique constraint on it. Below is my code for the reference.