public bool Equals(KeyManyToOneMapping other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.attributes, attributes) &&
            other.columns.ContentEquals(columns) &&
            Equals(other.ContainingEntityType, ContainingEntityType));
 }
 public void AddKeyManyToOne(KeyManyToOneMapping mapping)
 {
     keyManyToOnes.Add(mapping);
 }