public int CompareTo(Union other) { if (other == null) { return(1); } return(EntityCollection.SequenceCompare(other.EntityCollection)); }