public override bool Equals(object obj) { var other = obj as SqlColumnExpression; return other != null && (object.ReferenceEquals(this, other) || (this.SelectAlias == other.SelectAlias && this.Name == other.Name)); }