Exemple #1
0
        public IAssociationMapping <T, TElement> ThisKey(string key_name)
        {
            if (string.IsNullOrEmpty(key_name))
            {
                return(this);
            }

            if (!ThisKeys.Contains(key_name))
            {
                ThisKeys.Add(key_name);
            }

            return(this);
        }
Exemple #2
0
 public bool Equals(FKHashFuncKey key) => key != null &&
 EqualityComparer <Type> .Default.Equals(ThisType, key.ThisType) &&
 EqualityComparer <Type> .Default.Equals(OtherType, key.OtherType) &&
 ThisKeys.SequenceEqual(key.ThisKeys) &&
 OtherKeys.SequenceEqual(key.OtherKeys);