Ejemplo n.º 1
0
 protected override string GetBtypePropertyValue(PersonB btypeEntity)
 {
     return(btypeEntity.Age);
 }
Ejemplo n.º 2
0
 protected override bool AreEqual(PersonA atypeEntity, PersonB btypeEntity)
 {
     return(atypeEntity.Name == btypeEntity.Name &&
            atypeEntity.Age.ToString() == btypeEntity.Age);
 }