我正在使用EF 4 Code-First。
有没有任何方法可以排除在数据库中创建一个列?
例如,我想要排除 Zip
列的创建。
public string Address { get; set; }
[StringLength(40)]
public string City { get; set; }
[StringLength(30)]
public string State { get; set; }
[StringLength(10)]
public string Zip { get; set; }
谢谢你。