I am trying to use Code-First EF6 with default SQL values.
For example, I have a \"CreatedDate\" column/property not null with a default in SQL of \"getdate()\"
try with this. This code insert by default the current date
//[DatabaseGenerated(DatabaseGeneratedOption.Computed)] public DateTime Created { get; set; } = new DateTime();