Search
Star
1.4k
Feedback
Setup for Free
C
C#
•
4y ago
•
15 replies
riazuezra
❔ Double property with [Required] data annotation does not validate
How can I make it so that the req body has to have a DiscountPercentage field
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,415
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
✅ required attribute vs [Required] annotation
C
C# / help
11mo ago
✅ Required property
C
C# / help
2y ago
records, with expression, required property
C
C# / help
14mo ago
EF Core Model not-required property
C
C# / help
4y ago