use*_*357 2 model-validation expressiveannotations asp.net-core-2.1 .net-core-3.0
如何在.NET Core中实现RequiredIf条件操作以进行基于模型的验证。
在 ASP.NET MVC 中,已与 ExpressiveAnnotation 包一起使用,但它不适用于 .NET Core。
小智 7
UoN.ExpressiveAnnotations.NetCore是用于 .NET Core 应用程序的包,其功能与MVC 的ExpressiveAnnotation包相同
参考网址:https ://github.com/uon-nuget/UoN.ExpressiveAnnotations.NetCore
| 归档时间: |
|
| 查看次数: |
7020 次 |
| 最近记录: |