예제 #1
0
 protected override int GetAtypePropertyValue(PersonA atypeEntity)
 {
     return(atypeEntity.Age);
 }
예제 #2
0
 protected override bool AreEqual(PersonA atypeEntity, PersonB btypeEntity)
 {
     return(atypeEntity.Name == btypeEntity.Name &&
            atypeEntity.Age.ToString() == btypeEntity.Age);
 }