mardi 20 septembre 2022

How do you check if a property has IsRequired() on an object using reflection?

I have a string property it is configured as IsRequired() using FluentAPI. How do I check if this property is required? I'm iterating through all properties of my object using reflection.





Aucun commentaire:

Enregistrer un commentaire