I have a quick question.
Lets say I have these two entities
Customer
CustomerId (pk)
Name
Order
OrderId (pk)
CustomerId (fk)
etc.
I have a validator class for the OrderEntity which overrides ValidateFieldValue. When I set the CustomerId property of the OrderEntity the ValidateFieldValue method in the validator runs. However when I set the Customer property which in turn sets the CustomerId property, the ValidateFieldValue does not run. Is this intended and why?
Thanks.