public bool Equals(Union other) { if (other == null) { return(false); } return(EntityCollection.SequenceEqual(other.EntityCollection)); }