kavya m

kavya m

  • NA
  • 139
  • 18.5k

.net core Entity Framework Code firt

Mar 28 2023 7:28 PM

I have a model class with foreign key relation of another class, so in migration  it have foreignkeyconstraint exists.

Now i want to remove foreign key constraint. 

I trien to comment foreign key relation model class but the error is saying you need to drop and recreate identity column.

 

So pleae let me knoe how to remove foreignkey constrant from migartion


Answers (2)