Using Entity Framework Code First CTP5, how do I create a primary key column that are INTs and are not identity columns
Preferably not using attributes.
Small Change
public class User { [Required, Key, DatabaseGenerated(DatabaseGeneratedOption.None)] public int ID { get; set; } // Rest of the code }