protected override int GetAtypePropertyValue(PersonA atypeEntity) { return(atypeEntity.Age); }
protected override bool AreEqual(PersonA atypeEntity, PersonB btypeEntity) { return(atypeEntity.Name == btypeEntity.Name && atypeEntity.Age.ToString() == btypeEntity.Age); }