Closed PawelZygmax closed 2 years ago
Despite adding Annotations over Id like this:
[Display(AutoGenerateField = false)] [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; }
field id is generated in edit mode, when adding new entity it works fine
Addressed in 2.5.1. Please reopen if not fixed.
Despite adding Annotations over Id like this:
[Display(AutoGenerateField = false)] [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; }
field id is generated in edit mode, when adding new entity it works fine