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); }
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);