EF5 Code First - Changing A Column Type With Migrations
问题 I am new to EF5 Code First and I'm tinkering with a proof-of-concept before embarking on a project at work. I have initially created a model that looked something like public class Person { public int Id { get; set; } public string FirstName { get; set;} public string Surname {get;set;} public string Location {get;set;} } And I added a few records using a little MVC application I stuck on the top. Now I want to change the Location column to an enum, something like: public class Person {