Cascading IEquatable(Of T)
- by Shimmy
Hello!
I have several entities I need to make IEquatable(Of TEntity) respectively.
I want them first to check equality between EntityId, then if both are zero, should check regarding to other properties, for example same contact names, same phone number etc.
How is this done?