EF Core Data annotation Must be greater than an other field

前端 未结 0 842
遥遥无期
遥遥无期 2021-02-02 01:59

This is model class to generate a table.

 public class Mission
{
    [Key]
    public string Id { get; set; }
    [Range(minimum: 1, maximum: int.MaxValue)]
    p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题