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