public static S_RelationType Create(string[] names, HashSet <object> body) { return(new S_RelationType { _names = names, _tuples = body, _hashcode = RelationTypeHelper.CalcHashCode(body), }); }
public override string ToString() { return(RelationTypeHelper.Format(_tuples)); }
public override bool Equals(object obj) { return(obj is S_RelationType && RelationTypeHelper.AreEqual(_tuples, ((S_RelationType)obj)._tuples)); }