Пример #1
0
 protected override string GetBtypePropertyValue(PersonB btypeEntity)
 {
     return(btypeEntity.Age);
 }
Пример #2
0
 protected override bool AreEqual(PersonA atypeEntity, PersonB btypeEntity)
 {
     return(atypeEntity.Name == btypeEntity.Name &&
            atypeEntity.Age.ToString() == btypeEntity.Age);
 }