public virtual bool Equals(CompositeIdModel other)
 {
     return(other != null && other.IdA == this.IdA && other.IdB == this.IdB);
 }
 public virtual bool Equals(CompositeIdModel other)
 {
     return other != null && other.IdA == this.IdA && other.IdB == this.IdB;
 }