I played with the nhibernate validator and got an almost perfect solution.
I can determine the property to be checked, and it runs when pre-saved. But I have cases when it does not work.
Suppose I have an object called a person, and through nhibernate I matched an address (also an object) as a property of a person (this is actually a list of addresses).
When I save a person, my address is not verified.
The form for entering information is formed from partial forms. It would be nice if the address verification could be added to the identity verification list, but this is not required.
I need a general solution, I canβt confirm it with a βhandβ, for example. if the person then checks the address ... Somehow the validator should see that there is an object behind the property, which I also need to check.
Update: what I'm looking for is a way to check the displayed objects (hasmany).
griti source share