No, the Address entity inherits from BaseEntity which overrides the Equals method. Basically it will determine equality based on the Id property.
Doesn't that defeat the object? Surely the statements purpose is to check for addresses with exactly the same string properties as one already existing for that customer.
Customer entity has Addresses property. You can use FindAddress(...) extension method in order to find an address with the same properties (same strings in each field)
Customer entity has Addresses property. You can use FindAddress(...) extension method in order to find an address with the same properties (same strings in each field)
Brilliant. Thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.