如何在.NET Core中实现RequiredIf条件操作以进行基于模型的验证。
在 ASP.NET MVC 中,已与 ExpressiveAnnotation 包一起使用,但它不适用于 .NET Core。
model-validation expressiveannotations asp.net-core-2.1 .net-core-3.0
.net-core-3.0 ×1
asp.net-core-2.1 ×1
expressiveannotations ×1
model-validation ×1