Open gagnedavid25 opened 2 years ago
The requiredness of a property isn't usually dictated solely by its type (apart from whether it's nullable or non-nullable), but we could consider adding this if this gets enough votes.
Thank you for your answer!
I realized I can enable NRT per file, so I will use this route.
Hello,
Is there a reason why there is no
AreRequired()
method for the pre-convention model?Usage:
I know that EF Core checks the nullability of the property for this, but we do not have NRT enable yet.
Thanks