C#C
C#16mo ago
FraznoFire

Non-Nullable type "required" double up.

Hi Guys, I'm creating a model for use with Entity Framework, VSCode is yelling at me because a property doesn't have "required", but I do have it in the square brackets above. Do these two different versions of "required" overlap? or do they genuinely serve different purposes?
Screenshot_2024-09-01_160909.png
Screenshot_2024-09-01_160921.png
Was this page helpful?