标签: expressiveannotations

.net Core 中的RequiredIf 条件属性

如何在.NET Core中实现RequiredIf条件操作以进行基于模型的验证。

在 ASP.NET MVC 中,已与 ExpressiveAnnotation 包一起使用,但它不适用于 .NET Core。

model-validation expressiveannotations asp.net-core-2.1 .net-core-3.0

2
推荐指数
1
解决办法
7020
查看次数