Beispiel #1
0
 public override bool Equals(object obj)
 {
     if (obj is SelectStatement other)
     {
         return(Equals(Distinct, other.Distinct) &&
                Equals(FromClause, other.FromClause) &&
                Equals(WhereClause, other.WhereClause) &&
                Equals(GroupByClause, other.GroupByClause) &&
                Equals(HavingClause, other.HavingClause) &&
                Equals(OrderByClause, other.OrderByClause) &&
                Equals(OffsetLimitClause, other.OffsetLimitClause) &&
                SelectElements.AreEqual(other.SelectElements));
     }
     return(false);
 }