How to avoid Child Property REQUIRED DataAnnotation during Parent Model CRUD

后端 未结 0 1258
野趣味
野趣味 2021-01-24 20:57

Please help me learn and correct my code...

Goal:

  1. During City CRUD: the only required property is Name, ZipCode can be null
  2. When ad
相关标签:
回答
  • 消灭零回复
提交回复
热议问题