Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     if (this._hashCode == 0)
     {
         int code = _entityMetaData.GetHashCode() ^ _entityMetaData.Name.GetHashCode();
         foreach (KeyValuePair <string, object> pair in this._keyValues)
         {
             code ^= pair.Key.GetHashCode() + pair.Value.GetHashCode();
         }
         this._hashCode = code;
     }
     return(this._hashCode);
 }