純粋な POCO でコード ファーストの移行を行う。
これが私のクラスです:
[Table("Contact")]
public class Contact
{
public int Id { get;set; }
public string Name { get;set; }
public Prefix? Prefix { get;set; }//added this one then perform Add-Migration
}
public enum Prefix
{
Gen,
Dr,
Ms,
Mr,
Mrs,
Prof,
Rep,
Sen,
St
}
Prefix Enum を追加しましたが、Add-Migration を実行すると単に無視されますか?