Questions tagged [automatic-migration]

Automatic migrations is a feature of Entity-Framework Code-First approach.

Automatic migrations is a feature of Entity-Framework Code-First approach. Entity-Framework identifies changes in model and updates database if there are no risks of data loss.

16 questions
-1
votes
1 answer

Code-first Entity Framework dropping and recreating a table when model hasn't changed

I have the following class (inheriting from BaseEntity which just has an int Id property): public class User : BaseEntity { public string Email { get; set; } public string FirstName { get; set; } public string LastName { get; set; } …
John
  • 685
  • 1
  • 6
  • 20
1
2