In ASP.NET MVC 3 I would like to access at database creation time the model fields as if they were objects of DataColumn class, so that I could then modify the auto-increment se
This might what you need
public class MyModel { [Key] [DatabaseGenerated(System.ComponentModel.DataAnnotations.DatabaseGeneratedOption.None)] public int MyID { get; set; } }