Posts by Severo • 21 points
1 post
-
2
votes2
answers1466
viewsQ: Entityframework complaining of Identifier duplicity even with the property being null
I have the following classes: Product: public class Produto { [Key] public int Id { get; set; } [MaxLength(70)] [Required(AllowEmptyStrings = false)] public string Descricao { get; set; }…