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